diff --git a/input_common.h b/input_common.h index d8031d71a..a877074a2 100644 --- a/input_common.h +++ b/input_common.h @@ -8,6 +8,10 @@ Header file for the low level input library #include +#ifndef WCHAR_MAX +#define WCHAR_MAX 0x80000000 +#endif + #define WCHAR_END (WCHAR_MAX + (unsigned long)1) enum