diff options
author | 2006-05-19 19:59:48 +1000 | |
---|---|---|
committer | 2006-05-19 19:59:48 +1000 | |
commit | 9f6aba38d6accfc350ffc812a2ea2600f1352891 (patch) | |
tree | 426f5d01a8bb37462e60234c2b42501e7c8e323c | |
parent | b52fe0feb6e02ab7af982fd4722fef05ac5734a2 (diff) |
Define WCHAR_MAX to INT_MAX, not 0x7fffffff if undefined, as per suggestion from Netocrat
darcs-hash:20060519095948-ac50b-19842d18f4a020da7895d21df2f289dcf42f30bf.gz
-rw-r--r-- | fallback.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,13 +7,13 @@ #include <stdarg.h> #include <wctype.h> #include <wchar.h> - +#include <limits.h> #ifndef WCHAR_MAX /** This _should_ be defined by wchar.h, but e.g. OpenBSD doesn't. */ -#define WCHAR_MAX 0x7fffffffu +#define WCHAR_MAX INT_MAX #endif /** |