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
This commit is contained in:
Sam Lantinga 2011-01-16 17:45:42 -08:00
parent 57d90f79d3
commit d428d9d5a1
4 changed files with 12 additions and 5 deletions

View file

@ -76,7 +76,6 @@
#include "SDL_main.h"
#include "SDL_stdinc.h"
#include "SDL_atomic.h"
#include "SDL_audio.h"
#include "SDL_clipboard.h"
#include "SDL_cpuinfo.h"