diff --git a/src/dynapi/SDL_dynapi_dlopennote.h b/src/dynapi/SDL_dynapi_dlopennote.h index 6018dc69ca..8a2ec58ed1 100644 --- a/src/dynapi/SDL_dynapi_dlopennote.h +++ b/src/dynapi/SDL_dynapi_dlopennote.h @@ -91,8 +91,16 @@ #else +#if defined (__GNUC__) && __GNUC__ < 3 + +#define SDL_ELF_NOTE_DLOPEN + +#else + #define SDL_ELF_NOTE_DLOPEN(...) #endif #endif + +#endif