From f37d2ca669c58f728b040337a9556c30d9e57f9a Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Thu, 18 Dec 2003 21:23:47 +0000 Subject: ltdl.c: Define __private_extern__ if needed. 2003-12-18 Michael Koch * libltdl/ltdl.c: Define __private_extern__ if needed. From-SVN: r74801 --- libjava/libltdl/ltdl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libjava/libltdl') diff --git a/libjava/libltdl/ltdl.c b/libjava/libltdl/ltdl.c index 98f3277..f691c8a 100644 --- a/libjava/libltdl/ltdl.c +++ b/libjava/libltdl/ltdl.c @@ -1584,7 +1584,13 @@ static struct lt_user_dlloader sys_dld = { #if HAVE_MACH_O_DYLD_H -# include +# ifndef __private_extern__ +# define __private_extern__ extern +# include +# undef __private_extern__ +# else +# include +# endif #endif #include -- cgit v1.1