summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 02:37:21 +0900
committerJosé Fonseca <[email protected]>2008-06-24 02:39:17 +0900
commit8db7ef544c4f1be702e34b97882441df31274f10 (patch)
tree17ae08926c716d930383e71ddec23abffd13dd07 /src/mesa/main/glheader.h
parentab7ad60d47fdd6fbbbbdb8968676083356e8692d (diff)
mesa: ASSERT macro is already defined by WinCE headers.
Even when just the standard headers are used....
Diffstat (limited to 'src/mesa/main/glheader.h')
-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 0f74bc83ccc..9e39a8370e6 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