Skip to content

Commit

Permalink
Fixed warning: macro is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Nov 9, 2021
1 parent c7065bf commit e873193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stdlib/SDL_string.c
Expand Up @@ -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)
Expand Down

0 comments on commit e873193

Please sign in to comment.