Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
5005:7f0265279b68 | 5006:8e8876e4aec6 |
---|---|
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 #include "SDL.h" | 23 #include "SDL.h" |
24 #include "SDL_atomic.h" | |
24 #include "SDL_assert.h" | 25 #include "SDL_assert.h" |
25 #include "SDL_assert_c.h" | 26 #include "SDL_assert_c.h" |
26 #include "video/SDL_sysvideo.h" | 27 #include "video/SDL_sysvideo.h" |
27 | 28 |
28 #ifdef _WINDOWS | 29 #ifdef _WINDOWS |