summaryrefslogtreecommitdiffstats
path: root/src/mapi/entry.c
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-06 15:13:22 -0700
committerDylan Baker <[email protected]>2019-11-05 16:39:55 +0000
commitf9f60da813e69aacf541d25a24622c896f15ba98 (patch)
treece1ba60e57b85a9ea16cfe12efcf3e1ab994d596 /src/mapi/entry.c
parent37e54736a7bab3397e316ae4493c2e3d4aebfa5e (diff)
util/u_endian: set PIPE_ARCH_*_ENDIAN to 1
This will allow it to be used as a drop in replacement for _mesa_little_endian in a number of cases. v2: - Always define PIPE_ARCH_LITTLE_ENDIAN and PIPE_ARCH_BIG_ENDIAN, define the one that reflects the host system to 1 and the other to 0 - replace all uses of #ifdef, #ifndef, and #if defined() with #if and #if ! with PIPE_ARCH_*_ENDIAN Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mapi/entry.c')
-rw-r--r--src/mapi/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/entry.c b/src/mapi/entry.c
index b5126ade4cb..0105820b06b 100644
--- a/src/mapi/entry.c
+++ b/src/mapi/entry.c
@@ -53,7 +53,7 @@
# endif
#elif defined(USE_X86_64_ASM) && defined(__GNUC__) && defined(USE_ELF_TLS)
# include "entry_x86-64_tls.h"
-#elif defined(USE_PPC64LE_ASM) && defined(__GNUC__) && defined(PIPE_ARCH_LITTLE_ENDIAN)
+#elif defined(USE_PPC64LE_ASM) && defined(__GNUC__) && PIPE_ARCH_LITTLE_ENDIAN
# ifdef USE_ELF_TLS
# include "entry_ppc64le_tls.h"
# else