summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 02:37:21 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 02:39:17 +0900
commit8db7ef544c4f1be702e34b97882441df31274f10 (patch)
tree17ae08926c716d930383e71ddec23abffd13dd07 /src/mesa
parentab7ad60d47fdd6fbbbbdb8968676083356e8692d (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 0f74bc83cc..9e39a8370e 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -233,6 +233,7 @@
#endif
+#if !defined(_WIN32_WCE)
#if defined(BUILD_FOR_SNAP) && defined(CHECKED)
# define ASSERT(X) _CHECK(X)
#elif defined(DEBUG)
@@ -240,6 +241,7 @@
#else
# define ASSERT(X)
#endif
+#endif
#if !defined __GNUC__ || __GNUC__ < 3