summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 02:37:21 +0900
committerKeith Whitwell <[email protected]>2008-09-21 22:13:56 -0700
commit2e8af5ffcf5b59b6852cf0c7ad992af97de13fce (patch)
treee250db1808cc817da6f94d59464b5d78e8aa644c /src/mesa
parentc115616bda80390e6d4b11e7ce6184ef1cc00838 (diff)
mesa: ASSERT macro is already defined by WinCE headers.
Even when just the standard headers are used....
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/glheader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index e155f5eb9f3..e85b10bee3b 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -255,6 +255,7 @@
#endif
+#if !defined(_WIN32_WCE)
#if defined(BUILD_FOR_SNAP) && defined(CHECKED)
# define ASSERT(X) _CHECK(X)
#elif defined(DEBUG)
@@ -262,6 +263,7 @@
#else
# define ASSERT(X)
#endif
+#endif
#if (!defined(__GNUC__) || __GNUC__ < 3) && (!defined(__IBMC__) || __IBMC__ < 900)