dynapi: Disable support for API call logging by default.

We can manually enable it if necessary, but it bloats the library to
leave it on just in case.

Fixes #6381.
main
Ryan C. Gordon 2022-10-12 09:59:31 -04:00
parent f69e004d01
commit 2d7816e358
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ SDL_DYNAPI_VARARGS(,,)
#error Write me.
#endif
#define ENABLE_SDL_CALL_LOGGING 1
#define ENABLE_SDL_CALL_LOGGING 0
#if ENABLE_SDL_CALL_LOGGING
static int SDLCALL SDL_SetError_LOGSDLCALLS(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) {
char buf[512]; /* !!! FIXME: dynamic allocation */ \