summaryrefslogtreecommitdiff
path: root/graphics/glide3/files/patch-h5-fxglide_h
blob: a56accb7f4e64e10f5bb5fec69403d0ad31b56cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ru ../Glide3.orig/h5/glide3/src/fxglide.h ./h5/glide3/src/fxglide.h
--- ../Glide3.orig/h5/glide3/src/fxglide.h	Thu May 31 12:05:52 2001
+++ ./h5/glide3/src/fxglide.h	Sun Jan 13 15:35:48 2002
@@ -2992,7 +2992,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) \