Explorar o código

dlopennot: ngage's g++ compiler does not support variadic macros

Anonymous Maarten hai 2 semanas
pai
achega
c50e4b22ab
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/dynapi/SDL_dynapi_dlopennote.h

+ 8 - 0
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