Patch from Sylvain to fix clang warnings
This commit is contained in:
parent
460360285a
commit
dae32409e9
50 changed files with 285 additions and 167 deletions
|
@ -28,9 +28,10 @@
|
|||
|
||||
#include "SDL_stdinc.h"
|
||||
|
||||
|
||||
#if !defined(HAVE_VSSCANF) || !defined(HAVE_STRTOL) || !defined(HAVE_STRTOUL) || !defined(HAVE_STRTOLL) || !defined(HAVE_STRTOULL) || !defined(HAVE_STRTOD)
|
||||
#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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue