Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #698 from lioncash/missed-workaround
Really get rid of the MSVC 2005 workaround completely
  • Loading branch information
delroth committed Jul 30, 2014
2 parents 91647f5 + b03c127 commit 4b66c6c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions Source/Core/Common/x64CPUDetect.cpp
Expand Up @@ -9,15 +9,7 @@
#include "Common/CPUDetect.h"

#ifdef _WIN32
#define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set
#define _interlockedbittestandreset workaround_ms_header_bug_platform_sdk6_reset
#define _interlockedbittestandset64 workaround_ms_header_bug_platform_sdk6_set64
#define _interlockedbittestandreset64 workaround_ms_header_bug_platform_sdk6_reset64
#include <intrin.h>
#undef _interlockedbittestandset
#undef _interlockedbittestandreset
#undef _interlockedbittestandset64
#undef _interlockedbittestandreset64
#else

//#include <config/i386/cpuid.h>
Expand Down
Expand Up @@ -3,15 +3,7 @@
// Refer to the license.txt file included.

#ifdef _WIN32
#define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set
#define _interlockedbittestandreset workaround_ms_header_bug_platform_sdk6_reset
#define _interlockedbittestandset64 workaround_ms_header_bug_platform_sdk6_set64
#define _interlockedbittestandreset64 workaround_ms_header_bug_platform_sdk6_reset64
#include <intrin.h>
#undef _interlockedbittestandset
#undef _interlockedbittestandreset
#undef _interlockedbittestandset64
#undef _interlockedbittestandreset64
#endif

#include "Common/CPUDetect.h"
Expand Down
8 changes: 0 additions & 8 deletions Source/Core/VideoBackends/OGL/TextureCache.cpp
Expand Up @@ -7,15 +7,7 @@
#include <vector>

#ifdef _WIN32
#define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set
#define _interlockedbittestandreset workaround_ms_header_bug_platform_sdk6_reset
#define _interlockedbittestandset64 workaround_ms_header_bug_platform_sdk6_set64
#define _interlockedbittestandreset64 workaround_ms_header_bug_platform_sdk6_reset64
#include <intrin.h>
#undef _interlockedbittestandset
#undef _interlockedbittestandreset
#undef _interlockedbittestandset64
#undef _interlockedbittestandreset64
#endif

#include "Common/CommonPaths.h"
Expand Down

0 comments on commit 4b66c6c

Please sign in to comment.