summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-02-12 10:52:48 +0100
committerMarge Bot <emma+marge@anholt.net>2024-02-19 09:21:36 +0000
commit6dafe3dbe658b1a2ad927eceb274808a1ac9bc05 (patch)
tree5f1f9b27c398f4587505ebd09f2cdc4d83f62d4e /glx
parentdb3aa4e03b180244e8b4b02272c49f1e0c48b463 (diff)
drop remains of support for old Sun compilers
With transition from autoconf to meson, these aren't actually supported anymore, and re-adding it isn't planned. Thus the now dead code pathes can be completely removed. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1286>
Diffstat (limited to 'glx')
-rw-r--r--glx/indirect_reqsize.h2
-rw-r--r--glx/indirect_size.h2
-rw-r--r--glx/indirect_size_get.c2
-rw-r--r--glx/indirect_size_get.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/glx/indirect_reqsize.h b/glx/indirect_reqsize.h
index 632a85b1c..809681931 100644
--- a/glx/indirect_reqsize.h
+++ b/glx/indirect_reqsize.h
@@ -30,7 +30,7 @@
#include <X11/Xfuncproto.h>
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#if defined(__GNUC__)
#define PURE __attribute__((pure))
#else
#define PURE
diff --git a/glx/indirect_size.h b/glx/indirect_size.h
index 6a3d14cc4..e36c22ab3 100644
--- a/glx/indirect_size.h
+++ b/glx/indirect_size.h
@@ -38,7 +38,7 @@
#include <X11/Xfuncproto.h>
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#if defined(__GNUC__)
#define PURE __attribute__((pure))
#else
#define PURE
diff --git a/glx/indirect_size_get.c b/glx/indirect_size_get.c
index 7e81e6288..46d068769 100644
--- a/glx/indirect_size_get.c
+++ b/glx/indirect_size_get.c
@@ -33,7 +33,7 @@
#include "indirect_util.h"
#include "indirect_size.h"
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#if defined(__GNUC__)
#define PURE __attribute__((pure))
#else
#define PURE
diff --git a/glx/indirect_size_get.h b/glx/indirect_size_get.h
index 5af11d378..587e4148a 100644
--- a/glx/indirect_size_get.h
+++ b/glx/indirect_size_get.h
@@ -38,7 +38,7 @@
#include <X11/Xfuncproto.h>
-#if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+#if defined(__GNUC__)
#define PURE __attribute__((pure))
#else
#define PURE