From fd41ed0060e2ac149de3af0fac1a165cbe6d0592 Mon Sep 17 00:00:00 2001 From: Holmes Futrell Date: Sun, 22 Jun 2008 23:13:02 +0000 Subject: [PATCH] disabled compile time assertion ... no 64 bit primitive types available on iPhone (it appears) --- include/SDL_stdinc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 3df9e2a22..3c10337c9 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -147,8 +147,10 @@ SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); -SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); -SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); + +// SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); +// SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); + #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ /* Check to make sure enums are the size of ints, for structure packing. @@ -389,6 +391,7 @@ do { \ } \ } while(0) #endif + #ifndef SDL_revcpy extern DECLSPEC void *SDLCALL SDL_revcpy(void *dst, const void *src, size_t len);