mirror of https://github.com/FreeRDP/FreeRDP
Fixes build issue on Windows
Solves the following build issue: error C2373: 'InitializeCriticalSectionEx' : redefinition; different type modifiers
This commit is contained in:
parent
ae9c10e233
commit
9d6dcab3c6
|
@ -271,7 +271,7 @@ WINPR_API BOOL CancelWaitableTimer(HANDLE hTimer);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ((_WIN32) && (_WIN32_WINNT < 0x0600))
|
#if ((_WIN32) && (_WIN32_WINNT < 0x0403))
|
||||||
|
|
||||||
WINPR_API BOOL InitializeCriticalSectionEx(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
|
WINPR_API BOOL InitializeCriticalSectionEx(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ VOID DeleteCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ((_WIN32) && (_WIN32_WINNT < 0x0600))
|
#if ((_WIN32) && (_WIN32_WINNT < 0x0403))
|
||||||
|
|
||||||
typedef BOOL (WINAPI * PINITIALIZE_CRITICAL_SECTION_EX_FN)(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
|
typedef BOOL (WINAPI * PINITIALIZE_CRITICAL_SECTION_EX_FN)(LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount, DWORD Flags);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue