Commit 47b3774a authored by Karl Heuer's avatar Karl Heuer
Browse files

[linux]: Include values.h and #undef

certain macros, to avoid conflict later.
parent fe111daf
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment