include/SDL_stdinc.h
changeset 2048 6067c7f9a672
parent 2047 9b7c0ff4977f
child 2077 8bfba7ec379a
equal deleted inserted replaced
2047:9b7c0ff4977f 2048:6067c7f9a672
   131  * \warning On platforms without any sort of 64-bit datatype, this is equivalent to Uint32!
   131  * \warning On platforms without any sort of 64-bit datatype, this is equivalent to Uint32!
   132  */
   132  */
   133 typedef uint64_t Uint64;
   133 typedef uint64_t Uint64;
   134 #else
   134 #else
   135 /* This is really just a hack to prevent the compiler from complaining */
   135 /* This is really just a hack to prevent the compiler from complaining */
   136 typdef Sint32 Sint64;
   136 typedef Sint32 Sint64;
   137 typdef Uint32 Uint64;
   137 typedef Uint32 Uint64;
   138 #endif
   138 #endif
   139 
   139 
   140 /* Make sure the types really have the right sizes */
   140 /* Make sure the types really have the right sizes */
   141 #define SDL_COMPILE_TIME_ASSERT(name, x)               \
   141 #define SDL_COMPILE_TIME_ASSERT(name, x)               \
   142        typedef int SDL_dummy_ ## name[(x) * 2 - 1]
   142        typedef int SDL_dummy_ ## name[(x) * 2 - 1]