comparison include/SDL_stdinc.h @ 3762:f667489e7309 gsoc2008_manymouse

sync with trunk
author Szymon Wilczek <kazeuser@gmail.com>
date Wed, 02 Jul 2008 20:20:51 +0000
parents 7ae1c419b626
children
comparison
equal deleted inserted replaced
3761:e0c95ad1ba87 3762:f667489e7309
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 //SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
151 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); 151 //SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
152 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */ 152 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */
153 153
154 /* 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.
155 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
156 enums having the size of an int must be enabled. 156 enums having the size of an int must be enabled.