aboutsummaryrefslogtreecommitdiffhomepage
path: root/input_common.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-05 20:02:10 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-05 20:02:10 +1000
commitb065bd6282f8facfa229e250d693ac43c9eb84b2 (patch)
treeb47f919aad095aa2a3cc297ce97098b24fcd1140 /input_common.h
parent5628a2ce6609eb18fa5543f97e91af6b7e8ad320 (diff)
Make sure WCHAR_MAX is #defined
darcs-hash:20051005100210-ac50b-436e292c1576a24a6c15c957699132b1b38c54d5.gz
Diffstat (limited to 'input_common.h')
-rw-r--r--input_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/input_common.h b/input_common.h
index d8031d71..a877074a 100644
--- a/input_common.h
+++ b/input_common.h
@@ -8,6 +8,10 @@ Header file for the low level input library
#include <wchar.h>
+#ifndef WCHAR_MAX
+#define WCHAR_MAX 0x80000000
+#endif
+
#define WCHAR_END (WCHAR_MAX + (unsigned long)1)
enum