Skip to content
Snippets Groups Projects
Commit 6da4746d authored by richard's avatar richard
Browse files

better commented fix for VS2005 compile issues

reviewed by Leyla
parent ab1ec128
Branches
Tags
No related merge requests found
...@@ -39,9 +39,13 @@ ...@@ -39,9 +39,13 @@
#define TIME_FAST_TIMERS 0 #define TIME_FAST_TIMERS 0
#if LL_WINDOWS #if LL_WINDOWS
#define _interlockedbittestandset _dummy_func // because MS has different signatures for these functions in winnt.h
// need to rename them to avoid conflicts
#define _interlockedbittestandset _renamed_interlockedbittestandset
#define _interlockedbittestandreset _renamed_interlockedbittestandreset
#include <intrin.h> #include <intrin.h>
#undef _interlockedbittestandset #undef _interlockedbittestandset
#undef _interlockedbittestandreset
#define LL_INLINE __forceinline #define LL_INLINE __forceinline
// shift off lower 8 bits for lower resolution but longer term timing // shift off lower 8 bits for lower resolution but longer term timing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment