diff options
Diffstat (limited to 'src/util/u_math.h')
-rw-r--r-- | src/util/u_math.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/u_math.h b/src/util/u_math.h index 4c3aafe80ab..4f2658e2897 100644 --- a/src/util/u_math.h +++ b/src/util/u_math.h @@ -45,7 +45,7 @@ #include <stdarg.h> #include "bitscan.h" -#include "u_endian.h" /* for PIPE_ARCH_BIG_ENDIAN */ +#include "u_endian.h" /* for UTIL_ARCH_BIG_ENDIAN */ #ifdef __cplusplus extern "C" { @@ -569,7 +569,7 @@ util_bitreverse(unsigned n) * Convert from little endian to CPU byte order. */ -#if PIPE_ARCH_BIG_ENDIAN +#if UTIL_ARCH_BIG_ENDIAN #define util_le64_to_cpu(x) util_bswap64(x) #define util_le32_to_cpu(x) util_bswap32(x) #define util_le16_to_cpu(x) util_bswap16(x) @@ -627,7 +627,7 @@ util_bswap16(uint16_t n) static inline void* util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t n) { -#if PIPE_ARCH_BIG_ENDIAN +#if UTIL_ARCH_BIG_ENDIAN size_t i, e; assert(n % 4 == 0); |