From adf4deb4526c0bd7bcda8c0947152e9ac975d2c8 Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Tue, 15 Apr 2014 21:16:04 -0400 Subject: Update for compiling WASAPI on both MinGW and VS. --- RtAudio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RtAudio.h b/RtAudio.h index 52f361a..b4e43e3 100644 --- a/RtAudio.h +++ b/RtAudio.h @@ -568,6 +568,10 @@ class RtAudio // Operating system dependent thread functionality. #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_WASAPI__) + + #ifndef NOMINMAX + #define NOMINMAX + #endif #include #include -- cgit v1.2.3