From: andreast Date: Wed, 30 Jul 2003 17:42:28 +0000 (+0000) Subject: 2003-07-30 Andreas Tobler X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1df2b95220e81ba6d6e83d1e886488aa7376c770;p=gc 2003-07-30 Andreas Tobler * dyn_load.c: Define __private_extern__ to match Apple's system header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69967 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/ChangeLog b/ChangeLog index 96e7f4bf..633eef54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Andreas Tobler + + * dyn_load.c: Define __private_extern__ to match Apple's system + header. + 2003-07-28 Loren J. Rittle * os_dep.c: Remove redundancy introduced in last merge. diff --git a/dyn_load.c b/dyn_load.c index 5ae0e0dc..1f4a6364 100644 --- a/dyn_load.c +++ b/dyn_load.c @@ -980,7 +980,13 @@ void GC_register_dynamic_libraries() #ifdef DARWIN +#ifndef __private_extern__ +#define __private_extern__ extern #include +#undef __private_extern__ +#else +#include +#endif #include /*#define DARWIN_DEBUG*/