mesa: ASSERT macro is already defined by WinCE headers.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 17:37:21 +0000 (02:37 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 17:39:17 +0000 (02:39 +0900)
Even when just the standard headers are used....

src/mesa/main/glheader.h

index 0f74bc83ccc2e2a625088f75f58a4688407277e5..9e39a8370e6f81fe7e41fffcc2fb1158f2b10e23 100644 (file)
 #endif
 
 
+#if !defined(_WIN32_WCE)
 #if defined(BUILD_FOR_SNAP) && defined(CHECKED)
 #  define ASSERT(X)   _CHECK(X) 
 #elif defined(DEBUG)
 #else
 #  define ASSERT(X)
 #endif
+#endif
 
 
 #if !defined __GNUC__ || __GNUC__ < 3