Skip to content

Commit c50e4b2

Browse files
committed
dlopennot: ngage's g++ compiler does not support variadic macros
1 parent a904af1 commit c50e4b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/dynapi/SDL_dynapi_dlopennote.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,16 @@
9191

9292
#else
9393

94+
#if defined (__GNUC__) && __GNUC__ < 3
95+
96+
#define SDL_ELF_NOTE_DLOPEN
97+
98+
#else
99+
94100
#define SDL_ELF_NOTE_DLOPEN(...)
95101

96102
#endif
97103

98104
#endif
105+
106+
#endif

0 commit comments

Comments
 (0)