mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-15 23:01:16 +00:00
wikiheaders: Fixes and cleanups to fix SDL_ReportAssertion's wiki page.
This commit is contained in:
@@ -139,6 +139,16 @@
|
||||
#endif
|
||||
#endif /* SDL_NORETURN not defined */
|
||||
|
||||
#ifdef __clang__
|
||||
#if __has_feature(attribute_analyzer_noreturn)
|
||||
#define SDL_ANALYZER_NORETURN __attribute__((analyzer_noreturn))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef SDL_ANALYZER_NORETURN
|
||||
#define SDL_ANALYZER_NORETURN
|
||||
#endif
|
||||
|
||||
/* Apparently this is needed by several Windows compilers */
|
||||
#ifndef __MACH__
|
||||
#ifndef NULL
|
||||
|
||||
Reference in New Issue
Block a user