summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormichal <michal@michal-laptop.(none)>2007-08-16 19:42:28 +0100
committermichal <michal@michal-laptop.(none)>2007-08-16 19:42:28 +0100
commitbef9b40c3904fdffea6cc426c5c82ed3ab70a902 (patch)
tree72fb743af4eb534164cf83a848727c2b64af9dcf /src
parent00b7a915084067cef85c25cedcec257ce4eb25f0 (diff)
Define __WIN32__.
Diffstat (limited to 'src')
-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 51a78bf4f5f..4f968404eb9 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;