First commit for SDL atomic operations.
On my linux box it compiles and installs correctly and testatomic runs without errors. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403638
This commit is contained in:
parent
d083f30b19
commit
d813a7eac5
11 changed files with 755 additions and 2 deletions
|
@ -68,6 +68,12 @@ typedef unsigned int size_t;
|
|||
#endif
|
||||
typedef unsigned int uintptr_t;
|
||||
#endif /* __GNUC__ || _MSC_VER */
|
||||
|
||||
#ifdef _WIN64
|
||||
# define SIZEOF_VOIDP 8
|
||||
#else
|
||||
# define SIZEOF_VOIDP 4
|
||||
#endif
|
||||
#define SDL_HAS_64BIT_TYPE 1
|
||||
|
||||
/* Enabled for SDL 1.2 (binary compatibility) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue