Browse Source

Fixed SDL_SINT64_C typo

Apparently all the platforms we compile on have INT64_C defined?

Fixes https://github.com/libsdl-org/SDL/issues/10268
Sam Lantinga 9 months ago
parent
commit
cad9e6ea20
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/SDL3/SDL_stdinc.h

+ 3 - 3
include/SDL3/SDL_stdinc.h

@@ -143,13 +143,13 @@ void *alloca(size_t);
 #define SDL_SINT64_C(c)  INT64_C(c)
 #define SDL_UINT64_C(c)  UINT64_C(c)
 #elif defined(_MSC_VER)
-#define SDL_INT64_C(c)   c ## i64
+#define SDL_SINT64_C(c)  c ## i64
 #define SDL_UINT64_C(c)  c ## ui64
 #elif defined(__LP64__) || defined(_LP64)
-#define SDL_INT64_C(c)   c ## L
+#define SDL_SINT64_C(c)  c ## L
 #define SDL_UINT64_C(c)  c ## UL
 #else
-#define SDL_INT64_C(c)   c ## LL
+#define SDL_SINT64_C(c)  c ## LL
 #define SDL_UINT64_C(c)  c ## ULL
 #endif