From: Nicholas Appleton Date: Tue, 13 Sep 2016 12:16:55 +0000 (+1000) Subject: undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatche... X-Git-Tag: pa_stable_v190600_20161030~7^2~2 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=2251a120263fd37d96986e7fa2c5d3b665343878;p=portaudio undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e842dc3..a4b729c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -389,7 +389,7 @@ ELSE() INSTALL(FILES ${PA_PUBLIC_INCLUDES} DESTINATION include) INSTALL(TARGETS portaudio DESTINATION lib) ENDIF(NOT PA_OUTPUT_OSX_FRAMEWORK) -ENDIF(WIN32) +ENDIF() # Prepared for inclusion of test files OPTION(PA_BUILD_TESTS "Include test projects" OFF) diff --git a/src/hostapi/wasapi/pa_win_wasapi.c b/src/hostapi/wasapi/pa_win_wasapi.c index 8ca9acd..6e62a4a 100644 --- a/src/hostapi/wasapi/pa_win_wasapi.c +++ b/src/hostapi/wasapi/pa_win_wasapi.c @@ -78,6 +78,7 @@ #include "pa_win_coinitialize.h" #ifndef NTDDI_VERSION + #undef WINVER #undef _WIN32_WINNT #define WINVER 0x0600 // VISTA