Fixed bug #1097
There are problems with including intrin.h in C linkage in C++ compilation, and further conflicts between intrin.h and winnt.h on Visual Studio 2005.
This commit is contained in:
parent
14a0cb6fbc
commit
c4bf458e47
2 changed files with 12 additions and 2 deletions
|
@ -24,6 +24,10 @@
|
|||
#include "SDL_atomic.h"
|
||||
#include "SDL_timer.h"
|
||||
|
||||
/* Don't do the check for Visual Studio 2005, it's safe here */
|
||||
#if defined(_MSC_VER)
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
||||
/* This function is where all the magic happens... */
|
||||
SDL_bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue