Mercurial > sdl-ios-xcode
comparison include/SDL_config_win32.h @ 3180:77d6336711fc
First commit for SDL atomic operations.
On my linux box it compiles and installs correctly and testatomic runs without errors.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Tue, 09 Jun 2009 17:33:44 +0000 |
parents | b7a48f533966 |
children | b91354fa65a2 |
comparison
equal
deleted
inserted
replaced
3179:9b34679fda8b | 3180:77d6336711fc |
---|---|
66 #define _SIZE_T_DEFINED_ | 66 #define _SIZE_T_DEFINED_ |
67 typedef unsigned int size_t; | 67 typedef unsigned int size_t; |
68 #endif | 68 #endif |
69 typedef unsigned int uintptr_t; | 69 typedef unsigned int uintptr_t; |
70 #endif /* __GNUC__ || _MSC_VER */ | 70 #endif /* __GNUC__ || _MSC_VER */ |
71 | |
72 #ifdef _WIN64 | |
73 # define SIZEOF_VOIDP 8 | |
74 #else | |
75 # define SIZEOF_VOIDP 4 | |
76 #endif | |
71 #define SDL_HAS_64BIT_TYPE 1 | 77 #define SDL_HAS_64BIT_TYPE 1 |
72 | 78 |
73 /* Enabled for SDL 1.2 (binary compatibility) */ | 79 /* Enabled for SDL 1.2 (binary compatibility) */ |
74 //#define HAVE_LIBC 1 | 80 //#define HAVE_LIBC 1 |
75 #ifdef HAVE_LIBC | 81 #ifdef HAVE_LIBC |