include/SDL_types.h
changeset 1346 1b5fbaf1d2c6
parent 1345 7f32b9bede06
child 1353 7ba544e2888d
     1.1 --- a/include/SDL_types.h	Tue Feb 07 18:36:54 2006 +0000
     1.2 +++ b/include/SDL_types.h	Wed Feb 08 08:55:33 2006 +0000
     1.3 @@ -27,8 +27,14 @@
     1.4  
     1.5  #include <sys/types.h>
     1.6  #ifdef _MSC_VER
     1.7 -/* FIXME!! */
     1.8 -typedef unsigned int size_t;
     1.9 +#ifndef _SIZE_T_DEFINED
    1.10 +#ifdef  _WIN64
    1.11 +typedef unsigned __int64    size_t;
    1.12 +#else
    1.13 +typedef _W64 unsigned int   size_t;
    1.14 +#endif
    1.15 +#define _SIZE_T_DEFINED
    1.16 +#endif
    1.17  typedef size_t uintptr_t;
    1.18  #endif
    1.19