Mercurial > sdl-ios-xcode
comparison include/SDL_stdinc.h @ 2706:ce3ddf8dd6d2
disabled compile time assertion ... no 64 bit primitive types available on iPhone (it appears)
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Sun, 22 Jun 2008 23:13:02 +0000 |
parents | 7ae1c419b626 |
children | 6259afb046c5 |
comparison
equal
deleted
inserted
replaced
2705:0f62c4ae1cd5 | 2706:ce3ddf8dd6d2 |
---|---|
145 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1); | 145 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1); |
146 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); | 146 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); |
147 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); | 147 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); |
148 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); | 148 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); |
149 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); | 149 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); |
150 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); | 150 |
151 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); | 151 // SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); |
152 // SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); | |
153 | |
152 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ | 154 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ |
153 | 155 |
154 /* Check to make sure enums are the size of ints, for structure packing. | 156 /* Check to make sure enums are the size of ints, for structure packing. |
155 For both Watcom C/C++ and Borland C/C++ the compiler option that makes | 157 For both Watcom C/C++ and Borland C/C++ the compiler option that makes |
156 enums having the size of an int must be enabled. | 158 enums having the size of an int must be enabled. |
387 default: \ | 389 default: \ |
388 break; \ | 390 break; \ |
389 } \ | 391 } \ |
390 } while(0) | 392 } while(0) |
391 #endif | 393 #endif |
394 | |
392 #ifndef SDL_revcpy | 395 #ifndef SDL_revcpy |
393 extern DECLSPEC void *SDLCALL SDL_revcpy(void *dst, const void *src, | 396 extern DECLSPEC void *SDLCALL SDL_revcpy(void *dst, const void *src, |
394 size_t len); | 397 size_t len); |
395 #endif | 398 #endif |
396 | 399 |