diff options
-rw-r--r-- | include/AL/alext.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h index ef5e8cb6..57c71cb3 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -23,18 +23,15 @@ #include <stddef.h> /* 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__) +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ + (defined(__cplusplus) && __cplusplus >= 201103L) #include <stdint.h> #elif defined(_WIN32) typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #else /* Fallback if nothing above works */ -#include <inttypes.h> +#include <stdint.h> #endif #include "alc.h" |