--- h3/glide3/src/fxglide.h.orig Thu May 31 12:05:52 2001 +++ h3/glide3/src/fxglide.h Sun Sep 28 22:41:02 2003 @@ -1526,7 +1526,7 @@ #ifdef GLIDE3 #define GR_STATE_ENTRY(name, type, args) \ - type _##name## args + type _##name args #else #define GR_STATE_ENTRY(name, type, args) \ GR_ENTRY(name, type, args) @@ -1845,7 +1845,7 @@ #define CUR_TRI_PROC(__checkValidP, __cullP) \ (*gc->archDispatchProcs.coorModeTriVector)[__checkValidP][__cullP] #define INVALIDATE(regset) {\ - gc->state.invalid |= ##regset##BIT; \ + gc->state.invalid |= regset##BIT; \ gc->triSetupProc = CUR_TRI_PROC(FXTRUE, (gc->state.cull_mode != GR_CULL_DISABLE)); \ } @@ -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) \