summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-07-17 22:27:44 +0000
committerKarl Heuer <kwzh@gnu.org>1995-07-17 22:27:44 +0000
commit7d5881c3efd10ca3f423ad17e20f41007e25d5d2 (patch)
tree1ca0ce16ef421fd47525206304297e1ab480683f /src/m
parent0deb6dc60f3d78ee2aeddf7f84825f359f664cbc (diff)
downloademacs-7d5881c3efd10ca3f423ad17e20f41007e25d5d2.tar.gz
[linux]: Include values.h and #undef
certain macros, to avoid conflict later.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/intel386.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 094c634611a..5eef3f28d9e 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -52,10 +52,14 @@ NOTE-END */
the size of various data types. */
-/* Linux defines these in <values.h>, but they can't be used in #if's */
+/* Linux defines these in <values.h>, but they can't be used in #if's.
+ #include it now so we know we've overridden it once and for all. */
+#ifdef linux
+#include <values.h>
#undef SHORTBITS
#undef INTBITS
#undef LONGBITS
+#endif
#define SHORTBITS 16 /* Number of bits in a short */