From: Gary Scavone Date: Wed, 16 Apr 2014 01:16:04 +0000 (-0400) Subject: Update for compiling WASAPI on both MinGW and VS. X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=adf4deb4526c0bd7bcda8c0947152e9ac975d2c8;p=rtaudio-cdist.git Update for compiling WASAPI on both MinGW and VS. --- 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