From 9f6aba38d6accfc350ffc812a2ea2600f1352891 Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 19 May 2006 19:59:48 +1000 Subject: [PATCH] Define WCHAR_MAX to INT_MAX, not 0x7fffffff if undefined, as per suggestion from Netocrat darcs-hash:20060519095948-ac50b-19842d18f4a020da7895d21df2f289dcf42f30bf.gz --- fallback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fallback.h b/fallback.h index 10a071213..ff67f68fa 100644 --- a/fallback.h +++ b/fallback.h @@ -7,13 +7,13 @@ #include #include #include - +#include #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 /**