diff options
Diffstat (limited to 'graphics/glide3/files/patch-h3-fxglide_h')
-rw-r--r-- | graphics/glide3/files/patch-h3-fxglide_h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/glide3/files/patch-h3-fxglide_h b/graphics/glide3/files/patch-h3-fxglide_h new file mode 100644 index 000000000000..1a55276f044f --- /dev/null +++ b/graphics/glide3/files/patch-h3-fxglide_h @@ -0,0 +1,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) \ |