diff --git a/src/asmjit/base/utils.cpp b/src/asmjit/base/utils.cpp index 0bc92d6..ea5c653 100644 --- a/src/asmjit/base/utils.cpp +++ b/src/asmjit/base/utils.cpp @@ -23,10 +23,8 @@ // [Dependencies - Windows] #if ASMJIT_OS_WINDOWS -// `_InterlockedCompareExchange` is only available as intrinsic (MS Compiler). # if defined(_MSC_VER) && _MSC_VER >= 1400 # include -# pragma intrinsic(_InterlockedCompareExchange) # else # define _InterlockedCompareExchange InterlockedCompareExchange # endif // _MSC_VER @@ -70,7 +68,6 @@ uint32_t Utils::getTickCount() { } double freqDouble = double(qpf.QuadPart) / 1000.0; - Utils_hiResFreq = freqDouble; _InterlockedCompareExchange((LONG*)&Utils_hiResTicks, 1, 0); diff --git a/src/asmjit/base/utils.h b/src/asmjit/base/utils.h index ec03dda..096cf79 100644 --- a/src/asmjit/base/utils.h +++ b/src/asmjit/base/utils.h @@ -13,7 +13,6 @@ #if defined(_MSC_VER) && _MSC_VER >= 1400 # include -# pragma intrinsic(_BitScanForward) #endif // ASMJIT_OS_WINDOWS // [Api-Begin]