OSDN Git Service

2003-12-18 Michael Koch <konqueror@gmx.de>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Dec 2003 21:23:47 +0000 (21:23 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Dec 2003 21:23:47 +0000 (21:23 +0000)
* libltdl/ltdl.c: Define __private_extern__ if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74801 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/libltdl/ltdl.c

index 092c205..ecb767c 100644 (file)
@@ -1,5 +1,9 @@
 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
        * libltdl/Makefile.in: Regenerated.
        * libltdl/aclocal.m4: Regenerated.
index 98f3277..f691c8a 100644 (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>