Remove macro definition for SDL_ERRBUFIZE

I was looking at how errors are handled by SDL and came across this #define SDL_ERRBUFIZE which looks like a typo for SDL_ERRBUFSIZE, but either way, it looks like this isn't being used anywhere anymore because it was getting reported whenever I compile SDL with -Wunused-macros, and the last time it was mentioned in the code was from commit 09ca66b.
This commit is contained in:
Nhalrath 2022-06-11 23:34:20 +08:00 committed by Sam Lantinga
parent 4a3277b0f9
commit b3260e7eb3

View File

@ -25,8 +25,6 @@
#include "SDL_error.h" #include "SDL_error.h"
#include "SDL_error_c.h" #include "SDL_error_c.h"
#define SDL_ERRBUFIZE 1024
int int
SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...)
{ {