diff options
Diffstat (limited to 'glx/indirect_dispatch.h')
-rw-r--r-- | glx/indirect_dispatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/indirect_dispatch.h b/glx/indirect_dispatch.h index 014e417c9..6cc322c24 100644 --- a/glx/indirect_dispatch.h +++ b/glx/indirect_dispatch.h @@ -28,7 +28,7 @@ #if !defined( _INDIRECT_DISPATCH_H_ ) # define _INDIRECT_DISPATCH_H_ -# 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 |