Mon, 17 Jan 2011 13:54:13 -0800Fixed compiler errors
Sam Lantinga [Mon, 17 Jan 2011 13:54:13 -0800] rev 5013
Fixed compiler errors

Mon, 17 Jan 2011 13:53:31 -0800Use compiler intrinsics, where available
Sam Lantinga [Mon, 17 Jan 2011 13:53:31 -0800] rev 5012
Use compiler intrinsics, where available

Mon, 17 Jan 2011 13:52:40 -0800Use the portable intrinsic
Sam Lantinga [Mon, 17 Jan 2011 13:52:40 -0800] rev 5011
Use the portable intrinsic

Mon, 17 Jan 2011 13:42:24 -0800Added testatomic test project
Sam Lantinga [Mon, 17 Jan 2011 13:42:24 -0800] rev 5010
Added testatomic test project

Mon, 17 Jan 2011 09:09:15 -0800Minor documentation consistency cleanup
Sam Lantinga [Mon, 17 Jan 2011 09:09:15 -0800] rev 5009
Minor documentation consistency cleanup

Sun, 16 Jan 2011 17:48:04 -0800Fixed compiler warning
Sam Lantinga [Sun, 16 Jan 2011 17:48:04 -0800] rev 5008
Fixed compiler warning

Sun, 16 Jan 2011 17:47:52 -0800Fixed compiler warning about symbol redefinition
Sam Lantinga [Sun, 16 Jan 2011 17:47:52 -0800] rev 5007
Fixed compiler warning about symbol redefinition

Sun, 16 Jan 2011 17:45:42 -0800Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h
Sam Lantinga [Sun, 16 Jan 2011 17:45:42 -0800] rev 5006
Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h
This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h

Sun, 16 Jan 2011 15:31:09 -0800Don't hose code that isn't expecting a windows include
Sam Lantinga [Sun, 16 Jan 2011 15:31:09 -0800] rev 5005
Don't hose code that isn't expecting a windows include

Sun, 16 Jan 2011 15:16:39 -0800Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
Sam Lantinga [Sun, 16 Jan 2011 15:16:39 -0800] rev 5004
Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier()
Added an atomic test adapted from code by Michael Davidsaver