Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise. Create wrappers
for system headers that cause them to be treated as default-visibility
declarations. This gives a substantial code size and performance win on
compilers that support it. r=darin sr=dbaron.
Modified Files:
configure configure.in config/Makefile.in
config/autoconf.mk.in config/config.mk pr/include/prtypes.h
pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
config/gcc_hidden.h config/make-system-wrappers.pl
config/system-headers
git-svn-id: svn://10.0.0.236/trunk@172884 18797224-902f-48f8-a5cc-f745e15eee43
option. The HAVE_SOCKET_REUSEADDR macro is now obsolete. Tests
that depended on the old PR_Bind behavior needs to call PR_SetSocketOption
before PR_Bind.
Modified files: _beos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h,
prsocket.c, ptio.c, accept.c, acceptread.c, sel_spd.c, servr_kk.c,
servr_ku.c, servr_uk.c, and servr_uu.c.
git-svn-id: svn://10.0.0.236/trunk@51807 18797224-902f-48f8-a5cc-f745e15eee43
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
git-svn-id: svn://10.0.0.236/trunk@14963 18797224-902f-48f8-a5cc-f745e15eee43