Commit Graph

5 Commits

Author SHA1 Message Date
Ozkan Sezer
04aa74b5f9 SDL_dlopennote.h: define SDL_DISABLE_DLOPEN_NOTES for old gcc < 3.1
gcc < 3.1 doesn't support 'used' attribute at the least.

Also change the SDL_ELF_NOTE_DLOPEN variadic macro for disabled case to
be compatible with old gcc versions: tested with gcc-2.95.

Old MSVC cases, e.g. VS 2003 and older, are still not resolved.

Reference issue: https://github.com/libsdl-org/SDL/issues/14214.
2025-10-11 05:20:20 +03:00
Anonymous Maarten
121df30a8a Visual Studio 2003 (and older) do not support variadic macros 2025-10-11 01:00:03 +02:00
SDL Wiki Bot
4f267fc782 Sync SDL3 wiki -> header
[ci skip]
2025-10-10 19:48:58 +00:00
Sam Lantinga
692c71a677 The dlopen note functionality is only used on UNIX platforms 2025-10-10 12:47:42 -07:00
Sam Lantinga
ee622c570a Made SDL_dlopennote.h a public header 2025-10-10 12:47:42 -07:00