wikiheaders: Fixes and cleanups to fix SDL_ReportAssertion's wiki page.

This commit is contained in:
Ryan C. Gordon 2024-06-11 11:29:44 -04:00
parent c3a4b15a74
commit 8e782602de
No known key found for this signature in database
GPG key ID: FA148B892AB48044
3 changed files with 20 additions and 14 deletions

View file

@ -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