mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-11 04:35:39 +00:00
Fixed warning: macro is not used
This commit is contained in:
parent
c7065bf42f
commit
e8731933cc
|
@ -34,8 +34,10 @@
|
||||||
#define va_copy(dst, src) dst = src
|
#define va_copy(dst, src) dst = src
|
||||||
#endif
|
#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_isupperhex(X) (((X) >= 'A') && ((X) <= 'F'))
|
||||||
#define SDL_islowerhex(X) (((X) >= 'a') && ((X) <= 'f'))
|
#define SDL_islowerhex(X) (((X) >= 'a') && ((X) <= 'f'))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UTF8_IsLeadByte(c) ((c) >= 0xC0 && (c) <= 0xF4)
|
#define UTF8_IsLeadByte(c) ((c) >= 0xC0 && (c) <= 0xF4)
|
||||||
#define UTF8_IsTrailingByte(c) ((c) >= 0x80 && (c) <= 0xBF)
|
#define UTF8_IsTrailingByte(c) ((c) >= 0x80 && (c) <= 0xBF)
|
||||||
|
|
Loading…
Reference in a new issue