summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 02:37:21 +0900
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 22:13:56 -0700
commit2e8af5ffcf5b59b6852cf0c7ad992af97de13fce (patch)
treee250db1808cc817da6f94d59464b5d78e8aa644c /src
parentc115616bda80390e6d4b11e7ce6184ef1cc00838 (diff)
mesa: ASSERT macro is already defined by WinCE headers.
Even when just the standard headers are used....
Diffstat (limited to 'src')
-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 e155f5eb9f..e85b10bee3 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)