include/SDL_config_win32.h
changeset 3180 77d6336711fc
parent 3170 b7a48f533966
child 3219 b91354fa65a2
     1.1 --- a/include/SDL_config_win32.h	Tue Jun 09 15:45:33 2009 +0000
     1.2 +++ b/include/SDL_config_win32.h	Tue Jun 09 17:33:44 2009 +0000
     1.3 @@ -68,6 +68,12 @@
     1.4  #endif
     1.5  typedef unsigned int uintptr_t;
     1.6  #endif /* __GNUC__ || _MSC_VER */
     1.7 +
     1.8 +#ifdef _WIN64
     1.9 +# define SIZEOF_VOIDP 8
    1.10 +#else
    1.11 +# define SIZEOF_VOIDP 4
    1.12 +#endif
    1.13  #define SDL_HAS_64BIT_TYPE	1
    1.14  
    1.15  /* Enabled for SDL 1.2 (binary compatibility) */