diff options
Diffstat (limited to 'Source/Core/VideoCommon/Src/Profiler.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/Profiler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/Profiler.cpp b/Source/Core/VideoCommon/Src/Profiler.cpp index 6a66cdc006..e47118409a 100644 --- a/Source/Core/VideoCommon/Src/Profiler.cpp +++ b/Source/Core/VideoCommon/Src/Profiler.cpp @@ -33,7 +33,11 @@ int g_bWriteProfile=0; #ifdef _WIN32
#if defined (_MSC_VER) && _MSC_VER >= 1400
+#define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set
+#define _interlockedbittestandreset workaround_ms_header_bug_platform_sdk6_reset
#include <intrin.h>
+#undef _interlockedbittestandset
+#undef _interlockedbittestandreset
#pragma intrinsic(__rdtsc)
#endif
|
