summaryrefslogtreecommitdiff
path: root/hw/xfree86
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-07-27 11:36:27 -0700
committerMarge Bot <emma+marge@anholt.net>2024-07-28 23:26:37 +0000
commitbbc758d47ba8968e203486f34ad3f4e8c8db5c8b (patch)
tree71e0f552fd4b9dac312b44ce1dde668be4e08868 /hw/xfree86
parentf3b43adf3acbd5ba1087f553a0d89354f85f6c5d (diff)
compiler.h: drop translation of Sun compiler platform defines to gcc
Missed when the rest of Sun compiler support was removed by commit 6dafe3dbe658b1a2ad927eceb274808a1ac9bc05. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1628>
Diffstat (limited to 'hw/xfree86')
-rw-r--r--hw/xfree86/common/compiler.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
index af2f1490c..af9ac044d 100644
--- a/hw/xfree86/common/compiler.h
+++ b/hw/xfree86/common/compiler.h
@@ -51,20 +51,6 @@
#define _COMPILER_H
-/* Map Sun compiler platform defines to gcc-style used in the code */
-#if defined(__amd64) && !defined(__amd64__)
-#define __amd64__
-#endif
-#if defined(__i386) && !defined(__i386__)
-#define __i386__
-#endif
-#if defined(__sparc) && !defined(__sparc__)
-#define __sparc__
-#endif
-#if defined(__sparcv9) && !defined(__sparc64__)
-#define __sparc64__
-#endif
-
#ifndef _X_EXPORT
#include <X11/Xfuncproto.h>
#endif