diff test/testatomic.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 0c72ae7b7cb2
children 9d6b527e0912
line wrap: on
line diff
--- a/test/testatomic.c	Sun Jan 16 15:31:09 2011 -0800
+++ b/test/testatomic.c	Sun Jan 16 17:45:42 2011 -0800
@@ -1,5 +1,7 @@
 #include <stdio.h>
+
 #include "SDL.h"
+#include "SDL_atomic.h"
 #include "SDL_assert.h"
 
 /*