mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
@@ -46,6 +46,10 @@ include(CheckCCompilerFlag)
|
||||
include(GNUInstallDirsWrapper)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
if (NOT WIN32)
|
||||
add_definitions(-DWINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT)
|
||||
endif()
|
||||
|
||||
# Soname versioning
|
||||
set(RAW_VERSION_STRING "3.0.0-dev")
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/.source_tag")
|
||||
|
||||
@@ -125,14 +125,6 @@ extern "C"
|
||||
|
||||
/* Critical Section */
|
||||
|
||||
#if defined(__linux__)
|
||||
/**
|
||||
* Linux NPTL thread synchronization primitives are implemented using
|
||||
* the futex system calls ... we can't beat futex with a spin loop.
|
||||
*/
|
||||
#define WINPR_CRITICAL_SECTION_DISABLE_SPINCOUNT
|
||||
#endif
|
||||
|
||||
typedef struct _RTL_CRITICAL_SECTION
|
||||
{
|
||||
PVOID DebugInfo;
|
||||
|
||||
Reference in New Issue
Block a user