summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_compiler.h')
-rw-r--r--src/mesa/pipe/p_compiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_compiler.h b/src/mesa/pipe/p_compiler.h
index 51a78bf4f5..4f968404eb 100644
--- a/src/mesa/pipe/p_compiler.h
+++ b/src/mesa/pipe/p_compiler.h
@@ -33,6 +33,12 @@
#include <string.h>
#include <stdio.h>
+
+#if defined(_WIN32) && !defined(__WIN32__)
+#define __WIN32__
+#endif
+
+
typedef unsigned int uint;
typedef unsigned char ubyte;
typedef unsigned char boolean;