Răsfoiți Sursa

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

Anonymous Maarten 2 săptămâni în urmă
părinte
comite
c50e4b22ab
1 a modificat fișierele cu 8 adăugiri și 0 ștergeri
  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