mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #4637 from akallabeth/win_ninja_support
VS2017 support: set pdb output directory for Ninja generator.
This commit is contained in:
commit
f653686958
|
@ -482,7 +482,7 @@ if(WIN32)
|
|||
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
|
||||
|
||||
set(CMAKE_USE_RELATIVE_PATH ON)
|
||||
if (${CMAKE_GENERATOR} MATCHES "NMake Makefile*")
|
||||
if (${CMAKE_GENERATOR} MATCHES "NMake Makefile*" OR ${CMAKE_GENERATOR} MATCHES "Ninja*")
|
||||
set(CMAKE_PDB_BINARY_DIR ${CMAKE_BINARY_DIR})
|
||||
elseif (${CMAKE_GENERATOR} MATCHES "Visual Studio*")
|
||||
set(CMAKE_PDB_BINARY_DIR "${CMAKE_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}")
|
||||
|
|
|
@ -989,7 +989,7 @@ SECURITY_STATUS ntlm_server_AuthenticateComplete(NTLM_CONTEXT* context)
|
|||
{
|
||||
ZeroMemory(&((PBYTE) context->AuthenticateMessage.pvBuffer)[context->MessageIntegrityCheckOffset],
|
||||
16);
|
||||
ntlm_compute_message_integrity_check(context, &messageIntegrityCheck, sizeof(messageIntegrityCheck));
|
||||
ntlm_compute_message_integrity_check(context, messageIntegrityCheck, sizeof(messageIntegrityCheck));
|
||||
CopyMemory(&((PBYTE) context->AuthenticateMessage.pvBuffer)[context->MessageIntegrityCheckOffset],
|
||||
message->MessageIntegrityCheck, 16);
|
||||
|
||||
|
|
|
@ -234,7 +234,6 @@ static int InitializeWaitableTimer(WINPR_TIMER* timer)
|
|||
if (!timer->lpArgToCompletionRoutine)
|
||||
{
|
||||
#ifdef HAVE_SYS_TIMERFD_H
|
||||
int status;
|
||||
timer->fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK);
|
||||
|
||||
if (timer->fd <= 0)
|
||||
|
@ -330,9 +329,11 @@ HANDLE CreateWaitableTimerA(LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManua
|
|||
}
|
||||
|
||||
return handle;
|
||||
#if defined(__APPLE__)
|
||||
fail:
|
||||
TimerCloseHandle(handle);
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
HANDLE CreateWaitableTimerW(LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset,
|
||||
|
|
Loading…
Reference in New Issue