diff --git a/mozilla/xpcom/base/nsTraceRefcnt.cpp b/mozilla/xpcom/base/nsTraceRefcnt.cpp index b487db3dca8..1398a5c4172 100644 --- a/mozilla/xpcom/base/nsTraceRefcnt.cpp +++ b/mozilla/xpcom/base/nsTraceRefcnt.cpp @@ -64,6 +64,15 @@ #include #endif +#ifdef XP_MAC +/* + * This libdl stuff is breaking our build on Mac OSX, so I'm getting + * rid of it. + * --rogc 10/7/2002 + */ +#undef HAVE_LIBDL +#endif + #ifdef HAVE_LIBDL #include #endif diff --git a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp index b487db3dca8..1398a5c4172 100644 --- a/mozilla/xpcom/base/nsTraceRefcntImpl.cpp +++ b/mozilla/xpcom/base/nsTraceRefcntImpl.cpp @@ -64,6 +64,15 @@ #include #endif +#ifdef XP_MAC +/* + * This libdl stuff is breaking our build on Mac OSX, so I'm getting + * rid of it. + * --rogc 10/7/2002 + */ +#undef HAVE_LIBDL +#endif + #ifdef HAVE_LIBDL #include #endif