aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-10-16 11:13:20 -0700
committerChris Robinson <[email protected]>2020-10-16 11:13:20 -0700
commit3728f74e10c284034c732bc557908404d105f188 (patch)
tree555d54942f867eca22099de7fcc88d06f44a4ef6
parentf8af992b2b41f88ed7ca5b1cb3bcdabc9488f3cc (diff)
Utilize C++11's [u]int64_t in alext.h
-rw-r--r--include/AL/alext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h
index b41b30ed..4714ba9b 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -25,6 +25,8 @@
/* Define int64_t and uint64_t types */
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#include <inttypes.h>
+#elif defined(__cplusplus) && __cplusplus >= 201103L
+#include <cinttypes>
#elif defined(_WIN32) && defined(__GNUC__)
#include <stdint.h>
#elif defined(_WIN32)