summaryrefslogtreecommitdiff
path: root/x11-servers/driglide/files/patch-h3-fxglide_h
blob: 1a55276f044f6d26ced7784033f9b4003f475ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ru ../Glide3.orig/h3/glide3/src/fxglide.h ./h3/glide3/src/fxglide.h
--- ../Glide3.orig/h3/glide3/src/fxglide.h	Thu May 31 12:05:52 2001
+++ ./h3/glide3/src/fxglide.h	Sun Jan 13 15:35:42 2002
@@ -2133,7 +2133,11 @@
 #if defined(GLIDE_SANITY_ASSERT)
 #define GR_ASSERT(exp) ((void)((!(exp)) ? (_grAssert(#exp,  __FILE__, __LINE__),0) : 0xFFFFFFFF))
 #else
-#define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
+# ifdef __GNUC__
+#  define GR_ASSERT(exp)       ((void) 0)
+# else
+#  define GR_ASSERT(exp) ((void)(0 && ((FxU32)(exp))))
+# endif
 #endif
 
 #define INTERNAL_CHECK(__name, __cond, __msg, __fatalP) \