summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h4
1 files changed, 4 insertions, 0 deletions
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 <windows.h>
#include <process.h>