diff src/SDL_assert.c @ 5006:8e8876e4aec6

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
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 Jan 2011 17:45:42 -0800
parents 791b3256fb22
children adf6f0c8ec35
line wrap: on
line diff
--- a/src/SDL_assert.c	Sun Jan 16 15:31:09 2011 -0800
+++ b/src/SDL_assert.c	Sun Jan 16 17:45:42 2011 -0800
@@ -21,6 +21,7 @@
 */
 
 #include "SDL.h"
+#include "SDL_atomic.h"
 #include "SDL_assert.h"
 #include "SDL_assert_c.h"
 #include "video/SDL_sysvideo.h"