From: José Fonseca Date: Mon, 23 Jun 2008 17:37:21 +0000 (+0900) Subject: mesa: ASSERT macro is already defined by WinCE headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e8af5ffcf5b59b6852cf0c7ad992af97de13fce;p=mesa.git mesa: ASSERT macro is already defined by WinCE headers. Even when just the standard headers are used.... --- diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index e155f5eb9f3..e85b10bee3b 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -255,6 +255,7 @@ #endif +#if !defined(_WIN32_WCE) #if defined(BUILD_FOR_SNAP) && defined(CHECKED) # define ASSERT(X) _CHECK(X) #elif defined(DEBUG) @@ -262,6 +263,7 @@ #else # define ASSERT(X) #endif +#endif #if (!defined(__GNUC__) || __GNUC__ < 3) && (!defined(__IBMC__) || __IBMC__ < 900)