diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-04-13 14:43:17 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-04-13 14:43:17 +0200 |
commit | b90fef75155ef9ec359a7f8616693d4e0ab4ce51 (patch) | |
tree | c4dc7f09057fd45c160ea01e1b97636835e45ed1 | |
parent | c93abf82c639ad0fe65e6f30d86ecd9d2c13cb56 (diff) | |
download | libADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.tar.gz libADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.tar.bz2 libADLMIDI-b90fef75155ef9ec359a7f8616693d4e0ab4ce51.zip |
fix inclusion of cinttypes on OS X libstdc++
-rw-r--r-- | src/adlmidi_private.hpp | 4 |
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 |