From 2251a120263fd37d96986e7fa2c5d3b665343878 Mon Sep 17 00:00:00 2001 From: Nicholas Appleton Date: Tue, 13 Sep 2016 22:16:55 +1000 Subject: [PATCH] undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression --- CMakeLists.txt | 2 +- src/hostapi/wasapi/pa_win_wasapi.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0