include/SDL_stdinc.h
changeset 5481 22dfc3958dc3
parent 5325 b9c224e16859
child 5512 56ab281d7d3e
equal deleted inserted replaced
5480:55a687c55676 5481:22dfc3958dc3
   172 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
   172 SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1);
   173 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
   173 SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2);
   174 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
   174 SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2);
   175 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
   175 SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4);
   176 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
   176 SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4);
   177 #if !defined(__NINTENDODS__) && !defined(__ANDROID__)
   177 #ifdef SDL_HAS_64BIT_TYPE
   178 /* TODO: figure out why the following happens:
       
   179  include/SDL_stdinc.h:150: error: size of array 'SDL_dummy_uint64' is negative
       
   180  include/SDL_stdinc.h:151: error: size of array 'SDL_dummy_sint64' is negative */
       
   181 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
   178 SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
   182 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
   179 SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
   183 #endif
   180 #endif
   184 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */
   181 #endif /* DOXYGEN_SHOULD_IGNORE_THIS */
   185 /** \endcond */
   182 /** \endcond */