浏览代码

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.
Ryan C. Gordon 3 年之前
父节点
当前提交
2d7816e358
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/dynapi/SDL_dynapi.c

+ 1 - 1
src/dynapi/SDL_dynapi.c

@@ -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 */ \