summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>1997-04-18 06:37:07 +0000
committerGreg McGary <greg@mcgary.org>1997-04-18 06:37:07 +0000
commitc0e228864da1b2fbfc85637b5524c4c90ab62fce (patch)
treec30081f0af75ba51194bd672180690d6524b0448 /acconfig.h
parentad89a5d46547cb45b918926269ca2883eccf5e23 (diff)
downloadidutils-c0e228864da1b2fbfc85637b5524c4c90ab62fce.tar.gz
idutils-c0e228864da1b2fbfc85637b5524c4c90ab62fce.tar.bz2
idutils-c0e228864da1b2fbfc85637b5524c4c90ab62fce.zip
imported from mkid-3.0.7r3_0_7
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/acconfig.h b/acconfig.h
index 603afaf..7b356d8 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -29,12 +29,19 @@
/* (u)intmin32_t are integer types that are *at least* 32 bits.
Larger ints are OK. */
-# if SIZEOF_LONG == 4
+#if SIZEOF_LONG == 4
typedef unsigned long uintmin32_t;
typedef long intmin32_t;
-# else
+#else
typedef unsigned int uintmin32_t;
typedef int intmin32_t;
+#endif
+
+/* NeXT POSIX compatibility is losing. sgtty is the way to go. */
+#if HAVE_SGTTY_H
+# ifdef NeXT
+# undef HAVE_TERMIOS_H
# endif
+#endif
-#endif /* _config_h_ */
+#endif /* not _config_h_ */