SDL_config.h.cmake, SDL_config.h.in: update for SIZEOF_VOIDP define

This commit is contained in:
Ozkan Sezer 2020-12-30 01:00:24 +03:00
parent 9fc139dfb5
commit 1cdc1d4890
2 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,7 @@
/* C datatypes */ /* C datatypes */
/* Define SIZEOF_VOIDP for 64/32 architectures */ /* Define SIZEOF_VOIDP for 64/32 architectures */
#ifdef __LP64__ #if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
#define SIZEOF_VOIDP 8 #define SIZEOF_VOIDP 8
#else #else
#define SIZEOF_VOIDP 4 #define SIZEOF_VOIDP 4

View File

@ -42,11 +42,12 @@
#undef volatile #undef volatile
/* C datatypes */ /* C datatypes */
#ifdef __LP64__ #if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
#define SIZEOF_VOIDP 8 #define SIZEOF_VOIDP 8
#else #else
#define SIZEOF_VOIDP 4 #define SIZEOF_VOIDP 4
#endif #endif
#undef HAVE_GCC_ATOMICS #undef HAVE_GCC_ATOMICS
#undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET