aboutsummaryrefslogtreecommitdiff
path: root/common/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stdafx.h')
-rw-r--r--common/stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/stdafx.h b/common/stdafx.h
index c40cac985e..ac582a1206 100644
--- a/common/stdafx.h
+++ b/common/stdafx.h
@@ -88,6 +88,10 @@
#include <windows.h>
+#if defined(ARRAYSIZE)
+// VS2005beta2 introduces new stuff in winnt.h
+#undef ARRAYSIZE
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>