Only use gcc visibility support with gcc4+.
authorTom Fogal <tfogal@alumni.unh.edu>
Wed, 19 Oct 2011 20:41:35 +0000 (14:41 -0600)
committerTom Fogal <tfogal@alumni.unh.edu>
Mon, 24 Oct 2011 16:22:52 +0000 (10:22 -0600)
commitcbb2b4149ba26ee26f73f53e9b2aa960d9e5862c
treecd9dafe3b3d4e3a5138fffe6438c12c6b672e02d
parent2717b8f034db16cf551e167aa5ce3a9be3bf730b
Only use gcc visibility support with gcc4+.

I had a colleague hitting issues compiling with an old gcc3.2
system.  These patches got them through.

NOTE: This is a candidate for the 7.11 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
include/GL/gl.h
src/mesa/main/compiler.h