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 */
/* Define SIZEOF_VOIDP for 64/32 architectures */
#ifdef __LP64__
#if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
#define SIZEOF_VOIDP 8
#else
#define SIZEOF_VOIDP 4

View file

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