Skip to content

Commit

Permalink
libwinpr: fix test build on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
awakecoding committed Oct 25, 2012
1 parent 9a6d405 commit b7a289f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ endif()

if(NOT WIN32)
find_required_package(ZLIB)
find_optional_package(PulseAudio)
find_optional_package(MacAudio)
find_optional_package(PCSC)
find_optional_package(PulseAudio)

if(NOT ANDROID)
find_suggested_package(Cups)
Expand All @@ -199,7 +198,7 @@ if(NOT WIN32)
endif()
endif()

if(NOT ANDROID)
if((NOT ANDROID) AND (NOT APPLE))
find_suggested_package(FFmpeg)
endif()
endif()
Expand Down
2 changes: 1 addition & 1 deletion client/Mac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ set_target_properties(MacFreeRDP PROPERTIES XCODE_ATTRIBUTE_ARCHS "$(NATIVE_ARCH
# Set the info plist to the custom instance
set_target_properties(MacFreeRDP PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)

find_optional_package(MacAudio)
#find_optional_package(MacAudio)

set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} ${EXTRA_LIBS})

Expand Down
1 change: 0 additions & 1 deletion winpr/libwinpr/crt/test/TestAlignment.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include <stdio.h>
#include <malloc.h>
#include <winpr/crt.h>
#include <winpr/windows.h>

Expand Down
1 change: 0 additions & 1 deletion winpr/libwinpr/interlocked/test/TestInterlockedAccess.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include <stdio.h>
#include <malloc.h>
#include <winpr/crt.h>
#include <winpr/windows.h>
#include <winpr/interlocked.h>
Expand Down
1 change: 0 additions & 1 deletion winpr/libwinpr/interlocked/test/TestInterlockedDList.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include <stdio.h>
#include <malloc.h>
#include <winpr/crt.h>
#include <winpr/windows.h>
#include <winpr/interlocked.h>
Expand Down
1 change: 0 additions & 1 deletion winpr/libwinpr/interlocked/test/TestInterlockedSList.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include <stdio.h>
#include <malloc.h>
#include <winpr/crt.h>
#include <winpr/windows.h>
#include <winpr/interlocked.h>
Expand Down
6 changes: 5 additions & 1 deletion winpr/libwinpr/sspi/NTLM/ntlm.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ NTLM_CONTEXT* ntlm_ContextNew()
RegCloseKey(hKey);
}

context->SuppressExtendedProtection = FALSE;
/*
* Extended Protection is enabled by default in Windows 7,
* but enabling it in WinPR breaks TS Gateway at this point
*/
context->SuppressExtendedProtection = TRUE;

status = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("System\\CurrentControlSet\\Control\\LSA"), 0, KEY_READ | KEY_WOW64_64KEY, &hKey);

Expand Down

0 comments on commit b7a289f

Please sign in to comment.