mirror of https://github.com/encounter/SDL.git
SDL_config.h.cmake, SDL_config.h.in: update for SIZEOF_VOIDP define
This commit is contained in:
parent
9fc139dfb5
commit
1cdc1d4890
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue