diff options
author | Michael Koch <konqueror@gmx.de> | 2003-12-18 21:23:47 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-12-18 21:23:47 +0000 |
commit | f37d2ca669c58f728b040337a9556c30d9e57f9a (patch) | |
tree | 606aa1452d532a11153538515e130090d560abfd /libjava/libltdl | |
parent | c09f797a8c2816fd81e20b33dbc0d334df838ae9 (diff) | |
download | gcc-f37d2ca669c58f728b040337a9556c30d9e57f9a.zip gcc-f37d2ca669c58f728b040337a9556c30d9e57f9a.tar.gz gcc-f37d2ca669c58f728b040337a9556c30d9e57f9a.tar.bz2 |
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
Diffstat (limited to 'libjava/libltdl')
-rw-r--r-- | libjava/libltdl/ltdl.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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> |