summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-03-27 14:21:43 -0700
committerEric Anholt <eric@anholt.net>2017-04-21 11:39:10 -0700
commitbe80a3cb48a7860b9ed985b123f4d8a3b4ae3c89 (patch)
tree8e12a12de779f59e708997e50d48daa10cec5688 /include
parentdae97e1bb4d4f86db118c22dfeea0eef0d3f8bdd (diff)
glx: Use the same endian swapping as the rest of the server.
This dumps a ton of configure-time checks for system endian macros. Given that we're marking the mixed-endian fixup code as cold, getting at the system macros is a waste of code. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index a59d441bb..ad1ab20a6 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -63,9 +63,6 @@
/* Has libunwind support */
#undef HAVE_LIBUNWIND
-/* Define to 1 if you have the <byteswap.h> header file. */
-#undef HAVE_BYTESWAP_H
-
/* Define to 1 if you have the `cbrt' function. */
#undef HAVE_CBRT
@@ -322,9 +319,6 @@
/* Support UNIX socket connections */
#undef UNIXCONN
-/* Define to use byteswap macros from <sys/endian.h> */
-#undef USE_SYS_ENDIAN_H
-
/* unaligned word accesses behave as expected */
#undef WORKING_UNALIGNED_INT
@@ -454,15 +448,6 @@
/* Define to 1 if the DTrace Xserver provider probes should be built in */
#undef XSERVER_DTRACE
-/* Define to 16-bit byteswap macro */
-#undef bswap_16
-
-/* Define to 32-bit byteswap macro */
-#undef bswap_32
-
-/* Define to 64-bit byteswap macro */
-#undef bswap_64
-
/* Define to 1 if typeof works with your compiler. */
#undef HAVE_TYPEOF