comparison include/SDL_stdinc.h @ 2707:6259afb046c5

Reverted Holmes' changes, they should be on the iphone branch
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Jul 2008 16:15:44 +0000
parents ce3ddf8dd6d2
children 204be4fc2726
comparison
equal deleted inserted replaced
2706:ce3ddf8dd6d2 2707:6259afb046c5
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 150 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
151 // SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); 151 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
152 // SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
153
154 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ 152 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */
155 153
156 /* Check to make sure enums are the size of ints, for structure packing. 154 /* Check to make sure enums are the size of ints, for structure packing.
157 For both Watcom C/C++ and Borland C/C++ the compiler option that makes 155 For both Watcom C/C++ and Borland C/C++ the compiler option that makes
158 enums having the size of an int must be enabled. 156 enums having the size of an int must be enabled.
389 default: \ 387 default: \
390 break; \ 388 break; \
391 } \ 389 } \
392 } while(0) 390 } while(0)
393 #endif 391 #endif
394
395 #ifndef SDL_revcpy 392 #ifndef SDL_revcpy
396 extern DECLSPEC void *SDLCALL SDL_revcpy(void *dst, const void *src, 393 extern DECLSPEC void *SDLCALL SDL_revcpy(void *dst, const void *src,
397 size_t len); 394 size_t len);
398 #endif 395 #endif
399 396