From b0e528cc88ace971d4bcee6cbd8af402277eed55 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 21 Sep 2024 20:12:54 -0700 Subject: [PATCH] Switched ifdef from negative to positive --- include/SDL3/SDL_stdinc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index cdc6e10635..5326fd6b27 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -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"