Fixed warning: macro is not used

This commit is contained in:
Sylvain 2021-11-09 13:32:28 +01:00
parent c7065bf42f
commit e8731933cc
No known key found for this signature in database
GPG Key ID: 5F87E02E5BC0939E

View File

@ -34,8 +34,10 @@
#define va_copy(dst, src) dst = src
#endif
#if !defined(HAVE_VSSCANF) || !defined(HAVE_STRTOL) || !defined(HAVE_STRTOUL) || !defined(HAVE_STRTOD) || !defined(HAVE_STRTOLL) || !defined(HAVE_STRTOULL)
#define SDL_isupperhex(X) (((X) >= 'A') && ((X) <= 'F'))
#define SDL_islowerhex(X) (((X) >= 'a') && ((X) <= 'f'))
#endif
#define UTF8_IsLeadByte(c) ((c) >= 0xC0 && (c) <= 0xF4)
#define UTF8_IsTrailingByte(c) ((c) >= 0x80 && (c) <= 0xBF)