diff --git a/olcPixelGameEngine.h b/olcPixelGameEngine.h index b4b1b92..a474b06 100644 --- a/olcPixelGameEngine.h +++ b/olcPixelGameEngine.h @@ -418,7 +418,9 @@ int main() #define olcT(s) s #endif -#define UNUSED(x) (void)(x) +#if ! defined(UNUSED) + #define UNUSED(x) (void)(x) +#endif // O------------------------------------------------------------------------------O // | PLATFORM SELECTION CODE, Thanks slavka! |