mirror of
https://github.com/yawut/SDL.git
synced 2026-09-27 10:46:39 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user