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:
parent
57d90f79d3
commit
d428d9d5a1
4 changed files with 12 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue