Disable long long support in the headers with SDL_NOLONGLONG

Some older toolchains don't support 'long long'.
This commit is contained in:
Anonymous Maarten
2025-01-09 02:46:19 +01:00
committed by Ryan C. Gordon
parent 6cdde10edb
commit a78104a47f
2 changed files with 12 additions and 0 deletions

View File

@@ -217,6 +217,10 @@
#define SDL_EndThreadFunction NULL
#endif
#ifdef SDL_NOLONGLONG
#error We cannot build a valid SDL3 library without long long support
#endif
/* Enable internal definitions in SDL API headers */
#define SDL_INTERNAL