--- np2/x11/compiler.h 2004/01/07 14:51:53 1.8 +++ np2/x11/compiler.h 2004/01/15 15:52:32 1.9 @@ -113,17 +113,22 @@ typedef int BOOL; #endif #define UNUSED(v) ((void)(v)) -#define INLINE __inline #define FASTCALL #define SOUNDCALL #define MEMCALL #define CPUCALL #ifdef DEBUG +#define INLINE #define __ASSERT(s) assert(s) #else +#ifndef __ASSERT #define __ASSERT(s) #endif +#ifndef INLINE +#define INLINE __inline +#endif +#endif #ifndef NELEMENTS #define NELEMENTS(a) ((int)(sizeof(a) / sizeof(a[0])))