changeset 12548:531c4c566e55

[linux]: Include values.h and #undef certain macros, to avoid conflict later.
author Karl Heuer <kwzh@gnu.org>
date Mon, 17 Jul 1995 22:27:44 +0000
parents 63cdecbd7af4
children f92983da3dfd
files src/m/intel386.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/intel386.h	Mon Jul 17 22:27:13 1995 +0000
+++ b/src/m/intel386.h	Mon Jul 17 22:27:44 1995 +0000
@@ -52,10 +52,14 @@
  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 */