diff options
author | kcat <[email protected]> | 2018-06-20 12:53:22 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-20 12:53:22 -0700 |
commit | 7e2cac5292c0ebac0bf33c8bd6f8d678169930c0 (patch) | |
tree | ad1bc15698bef8c935346dc6e9c702035d8c41f1 | |
parent | 73e08e51ba3eb156240c4b240829d85548d25f5a (diff) | |
parent | a80ab012270bc38f6e07f535e445051af3b85349 (diff) |
Merge pull request #204 from jhasse/android-byte-order
Correctly check byte order for newer Android compiler, fix #203
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 093f7950..74dba1ad 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -184,8 +184,8 @@ inline int fallback_ctz64(ALuint64 value) #define CTZ64 fallback_ctz64 #endif -#if defined(__BYTE_ORDER__) && defined(__LITTLE_ENDIAN__) -#define IS_LITTLE_ENDIAN (__BYTE_ORDER__ == __LITTLE_ENDIAN__) +#if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) +#define IS_LITTLE_ENDIAN (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) #else static const union { ALuint u; |