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)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:56 +0000 (22:13 -0700)
Even when just the standard headers are used....

src/mesa/main/glheader.h

index e155f5eb9f38cb0f8ca49427e2108248fd797a7d..e85b10bee3b3cb4924ec2fb5d95cbd0161aa5c9f 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) && (!defined(__IBMC__) || __IBMC__ < 900)