undo whitespace change to pa_win_wasapi.c and fix a CMake grumbling about an unmatched ENDIF() closing expression

This commit is contained in:
Nicholas Appleton 2016-09-13 22:16:55 +10:00
commit 2251a12026
2 changed files with 2 additions and 1 deletions

View file

@ -389,7 +389,7 @@ ELSE()
INSTALL(FILES ${PA_PUBLIC_INCLUDES} DESTINATION include) INSTALL(FILES ${PA_PUBLIC_INCLUDES} DESTINATION include)
INSTALL(TARGETS portaudio DESTINATION lib) INSTALL(TARGETS portaudio DESTINATION lib)
ENDIF(NOT PA_OUTPUT_OSX_FRAMEWORK) ENDIF(NOT PA_OUTPUT_OSX_FRAMEWORK)
ENDIF(WIN32) ENDIF()
# Prepared for inclusion of test files # Prepared for inclusion of test files
OPTION(PA_BUILD_TESTS "Include test projects" OFF) OPTION(PA_BUILD_TESTS "Include test projects" OFF)

View file

@ -78,6 +78,7 @@
#include "pa_win_coinitialize.h" #include "pa_win_coinitialize.h"
#ifndef NTDDI_VERSION #ifndef NTDDI_VERSION
#undef WINVER #undef WINVER
#undef _WIN32_WINNT #undef _WIN32_WINNT
#define WINVER 0x0600 // VISTA #define WINVER 0x0600 // VISTA