# HG changeset patch # User Sam Lantinga # Date 1198990895 0 # Node ID 4845eb8d42212446e3b4442069fe6b10af256371 # Parent dc3dd3a0bf02a2d37efab10e3140b09434948194 Merged -fvisibility detection fix from SDL 1.2 revision 3500 diff -r dc3dd3a0bf02 -r 4845eb8d4221 configure.in --- a/configure.in Sat Dec 29 22:15:39 2007 +0000 +++ b/configure.in Sun Dec 30 05:01:35 2007 +0000 @@ -878,7 +878,7 @@ visibility_CFLAGS="-fvisibility=hidden" save_CFLAGS="$CFLAGS" - CFLAGS="$save_CFLAGS $visibility_CFLAGS" + CFLAGS="$save_CFLAGS $visibility_CFLAGS -Werror" AC_TRY_COMPILE([ #if !defined(__GNUC__) || __GNUC__ < 4 #error SDL only uses visibility attributes in GCC 4 or newer