ltdl.c: Define __private_extern__ if needed.

2003-12-18  Michael Koch  <konqueror@gmx.de>

	* libltdl/ltdl.c: Define __private_extern__ if needed.

From-SVN: r74801
This commit is contained in:
Michael Koch 2003-12-18 21:23:47 +00:00 committed by Michael Koch
parent c09f797a8c
commit f37d2ca669
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-18 Michael Koch <konqueror@gmx.de>
* libltdl/ltdl.c: Define __private_extern__ if needed.
2003-12-18 Michael Koch <konqueror@gmx.de>
* libltdl/.cvsignore: Ignore autom4te.cache

View File

@ -1584,7 +1584,13 @@ static struct lt_user_dlloader sys_dld = {
#if HAVE_MACH_O_DYLD_H
# include <mach-o/dyld.h>
# ifndef __private_extern__
# define __private_extern__ extern
# include <mach-o/dyld.h>
# undef __private_extern__
# else
# include <mach-o/dyld.h>
# endif
#endif
#include <mach-o/getsect.h>