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:
Bob Pendleton 2009-06-09 17:33:44 +00:00
parent d083f30b19
commit d813a7eac5
11 changed files with 755 additions and 2 deletions

View file

@ -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) */