mirror of
				https://github.com/encounter/SDL.git
				synced 2025-10-25 19:20:25 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									f69e004d01
								
							
						
					
					
						commit
						2d7816e358
					
				| @ -190,7 +190,7 @@ SDL_DYNAPI_VARARGS(,,) | |||||||
| #error Write me. | #error Write me. | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #define ENABLE_SDL_CALL_LOGGING 1 | #define ENABLE_SDL_CALL_LOGGING 0 | ||||||
| #if ENABLE_SDL_CALL_LOGGING | #if ENABLE_SDL_CALL_LOGGING | ||||||
| static int SDLCALL SDL_SetError_LOGSDLCALLS(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) { | static int SDLCALL SDL_SetError_LOGSDLCALLS(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) { | ||||||
|     char buf[512]; /* !!! FIXME: dynamic allocation */ \ |     char buf[512]; /* !!! FIXME: dynamic allocation */ \ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user