wfreerdp: minor 64-bit fixes
This commit is contained in:
parent
f0a45f96f5
commit
e7436a1a9d
@ -111,6 +111,10 @@ if(MSVC)
|
|||||||
message(STATUS "Random freeing errors are a common sign of runtime issues")
|
message(STATUS "Random freeing errors are a common sign of runtime issues")
|
||||||
endif()
|
endif()
|
||||||
configure_msvc_runtime()
|
configure_msvc_runtime()
|
||||||
|
|
||||||
|
if(NOT DEFINED CMAKE_SUPPRESS_REGENERATION)
|
||||||
|
set(CMAKE_SUPPRESS_REGENERATION ON)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Compiler-specific flags
|
# Compiler-specific flags
|
||||||
|
@ -236,7 +236,11 @@ LONG InterlockedCompareExchange(LONG volatile *Destination, LONG Exchange, LONG
|
|||||||
|
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
#if (_WIN32 && (_WIN32_WINNT < 0x0502))
|
#if defined(_WIN64)
|
||||||
|
|
||||||
|
/* InterlockedCompareExchange64 already defined */
|
||||||
|
|
||||||
|
#elif (_WIN32 && (_WIN32_WINNT < 0x0502))
|
||||||
|
|
||||||
static volatile HANDLE mutex = NULL;
|
static volatile HANDLE mutex = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user