diff options
author | Dylan Baker <[email protected]> | 2018-11-09 16:23:08 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-11-05 16:39:55 +0000 |
commit | ee4f1bc187536d32c30f4505247750754e27f6e4 (patch) | |
tree | e389172df07d3e9ea6f7228ded7e9abbc4a2a105 /src/util/u_endian.h | |
parent | 6b6897a9f9bdf813709a223e31e1eb5a6563686b (diff) |
util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN
As requested by Tim.
This was generated with:
grep 'PIPE_ARCH_.*_ENDIAN' -rIl | xargs sed -ie 's@PIPE_ARCH_\(.*\)_ENDIAN@UTIL_ARCH_\1_ENDIAN@'g
v2: - add this patch
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/u_endian.h')
-rw-r--r-- | src/util/u_endian.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 07f8d8cfc85..4e4ba60ca1d 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -31,33 +31,33 @@ #include <endian.h> #if __BYTE_ORDER == __LITTLE_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 1 -# define PIPE_ARCH_BIG_ENDIAN 0 +# define UTIL_ARCH_LITTLE_ENDIAN 1 +# define UTIL_ARCH_BIG_ENDIAN 0 #elif __BYTE_ORDER == __BIG_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 0 -# define PIPE_ARCH_BIG_ENDIAN 1 +# define UTIL_ARCH_LITTLE_ENDIAN 0 +# define UTIL_ARCH_BIG_ENDIAN 1 #endif #elif defined(__APPLE__) #include <machine/endian.h> #if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 1 -# define PIPE_ARCH_BIG_ENDIAN 0 +# define UTIL_ARCH_LITTLE_ENDIAN 1 +# define UTIL_ARCH_BIG_ENDIAN 0 #elif __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 0 -# define PIPE_ARCH_BIG_ENDIAN 1 +# define UTIL_ARCH_LITTLE_ENDIAN 0 +# define UTIL_ARCH_BIG_ENDIAN 1 #endif #elif defined(__sun) #include <sys/isa_defs.h> #if defined(_LITTLE_ENDIAN) -# define PIPE_ARCH_LITTLE_ENDIAN 1 -# define PIPE_ARCH_BIG_ENDIAN 0 +# define UTIL_ARCH_LITTLE_ENDIAN 1 +# define UTIL_ARCH_BIG_ENDIAN 0 #elif defined(_BIG_ENDIAN) -# define PIPE_ARCH_LITTLE_ENDIAN 0 -# define PIPE_ARCH_BIG_ENDIAN 1 +# define UTIL_ARCH_LITTLE_ENDIAN 0 +# define UTIL_ARCH_BIG_ENDIAN 1 #endif #elif defined(__OpenBSD__) || defined(__NetBSD__) || \ @@ -66,17 +66,17 @@ #include <machine/endian.h> #if _BYTE_ORDER == _LITTLE_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 1 -# define PIPE_ARCH_BIG_ENDIAN 0 +# define UTIL_ARCH_LITTLE_ENDIAN 1 +# define UTIL_ARCH_BIG_ENDIAN 0 #elif _BYTE_ORDER == _BIG_ENDIAN -# define PIPE_ARCH_LITTLE_ENDIAN 0 -# define PIPE_ARCH_BIG_ENDIAN 1 +# define UTIL_ARCH_LITTLE_ENDIAN 0 +# define UTIL_ARCH_BIG_ENDIAN 1 #endif #elif defined(_WIN32) -#define PIPE_ARCH_LITTLE_ENDIAN 1 -#define PIPE_ARCH_BIG_ENDIAN 0 +#define UTIL_ARCH_LITTLE_ENDIAN 1 +#define UTIL_ARCH_BIG_ENDIAN 0 #endif |