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 0f74bc8..9e39a83 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