diff options
author | Alan Coopersmith <[email protected]> | 2010-01-16 20:21:35 -0800 |
---|---|---|
committer | Alan Coopersmith <[email protected]> | 2010-01-19 10:15:55 -0800 |
commit | a7aaf052f935cb51b7b616a7a764c57fc01b2821 (patch) | |
tree | a7fe095dd2f1d71e18a963d724762cd54e491691 /src/mesa/glapi/glapitemp.h | |
parent | adda7f3215a0f749751977cbbb6cef67f7163be5 (diff) |
Sun compilers now support some gcc __attribute__ values
Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls
for aligned, always_inline, noinline, pure, const, and malloc.
This commit includes updates to files that were regenerated by gl_XML.py
after adding the __SUNPRO_C checks to it
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/glapi/glapitemp.h')
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 96b2ac72682..c0a947432ac 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/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 |