Switched ifdef from negative to positive

This commit is contained in:
Sam Lantinga 2024-09-21 20:12:54 -07:00
parent 97d1056e16
commit b0e528cc88
1 changed files with 3 additions and 3 deletions

View File

@ -502,11 +502,11 @@ typedef Sint64 SDL_Time;
#endif
#endif
/* Specifically for the `long long` -- SDL-specific. */
#ifndef SDL_PLATFORM_WINDOWS
#define SDL_PRILL_PREFIX "ll"
#else
#ifdef SDL_PLATFORM_WINDOWS
SDL_COMPILE_TIME_ASSERT(longlong_size64, sizeof(long long) == 8); /* using I64 for windows - make sure `long long` is 64 bits. */
#define SDL_PRILL_PREFIX "I64"
#else
#define SDL_PRILL_PREFIX "ll"
#endif
#ifndef SDL_PRILLd
#define SDL_PRILLd SDL_PRILL_PREFIX "d"