aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2015-10-10 12:26:43 +0300
committerWohlstand <admin@wohlnet.ru>2015-10-10 12:26:43 +0300
commitdcea4d91e5bc09519ee9048e5104904199016a3e (patch)
tree920292828a40e2f3b9b3fe5a8453cad297724a99 /src
parentb58c19d00d1ac63ac06d8a874ca0d9e1980516b8 (diff)
downloadlibADLMIDI-dcea4d91e5bc09519ee9048e5104904199016a3e.tar.gz
libADLMIDI-dcea4d91e5bc09519ee9048e5104904199016a3e.tar.bz2
libADLMIDI-dcea4d91e5bc09519ee9048e5104904199016a3e.zip
Fix error of Windows build
with "NO_OLDNAMES" included <sstream> causes "::iswblank not declared" error
Diffstat (limited to 'src')
-rw-r--r--src/adlmidi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index 7423e44..487e464 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -32,6 +32,9 @@
#endif
#endif
+#ifdef _WIN32
+#undef NO_OLDNAMES
+#endif
#include <vector>
#include <string>
#include <sstream>