aboutsummaryrefslogtreecommitdiff
path: root/src/file_reader.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-23 08:06:13 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-23 08:06:13 +0300
commit05a7a496341fa747a3af4e2cc040779772bc1594 (patch)
tree51ef6d1ffce86053602419f52f89b8ec4b810bfe /src/file_reader.hpp
parentb8e088ffed1b6ceb73dea84f5724879c309bc554 (diff)
downloadlibADLMIDI-05a7a496341fa747a3af4e2cc040779772bc1594.tar.gz
libADLMIDI-05a7a496341fa747a3af4e2cc040779772bc1594.tar.bz2
libADLMIDI-05a7a496341fa747a3af4e2cc040779772bc1594.zip
Another Watcom build fix, however, it doesn't fixes stack-related troubles
Diffstat (limited to 'src/file_reader.hpp')
-rw-r--r--src/file_reader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_reader.hpp b/src/file_reader.hpp
index 2c57386..7d13262 100644
--- a/src/file_reader.hpp
+++ b/src/file_reader.hpp
@@ -31,6 +31,7 @@
#include <stdint.h> // uint*_t
#include <stddef.h> // size_t and friends
#ifdef _WIN32
+#define NOMINMAX 1
#include <cstring> // std::strlen
#include <windows.h> // MultiByteToWideChar
#endif