summaryrefslogtreecommitdiff
path: root/glx/glapitemp.h
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glapitemp.h')
-rw-r--r--glx/glapitemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glapitemp.h b/glx/glapitemp.h
index 09259f470..ddd67afec 100644
--- a/glx/glapitemp.h
+++ b/glx/glapitemp.h
@@ -27,7 +27,7 @@
*/
-# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
+# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))) && defined(__ELF__)
# define HIDDEN __attribute__((visibility("hidden")))
# else
# define HIDDEN