aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-04-13 14:43:17 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-04-13 14:43:17 +0200
commitb90fef75155ef9ec359a7f8616693d4e0ab4ce51 (patch)
treec4dc7f09057fd45c160ea01e1b97636835e45ed1 /src
parentc93abf82c639ad0fe65e6f30d86ecd9d2c13cb56 (diff)
downloadlibADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.tar.gz
libADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.tar.bz2
libADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.zip
fix inclusion of cinttypes on OS X libstdc++
Diffstat (limited to 'src')
-rw-r--r--src/adlmidi_private.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index bb858bc..271bc5e 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -87,7 +87,11 @@ typedef int32_t ssize_t;
#include <cmath>
#include <cstdarg>
#include <cstdio>
+#if !(defined(__APPLE__) && defined(__GLIBCXX__))
#include <cinttypes> //PRId32, PRIu32, etc.
+#else
+#include <inttypes.h>
+#endif
#include <vector> // vector
#include <deque> // deque
#include <cmath> // exp, log, ceil