haiku: updated for Haiku

This commit is contained in:
kenmays 2022-01-12 06:48:00 -08:00 committed by Sam Lantinga
parent bff867013e
commit d37c9777b9
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@
#define va_copy(dst, src) dst = src
#endif
#if __GNUC__ == 2
#define va_copy(to, from) __va_copy(to, from)
#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'))