From 49373d9d482642cf9204809cbd01ea7610b1b8b1 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Tue, 29 Sep 1998 17:16:06 +0000 Subject: [PATCH] fix link problems on mac. git-svn-id: svn://10.0.0.236/trunk@11368 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/nsRepository.cpp | 9 ++++++++- mozilla/xpcom/src/nsRepository.cpp | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/components/nsRepository.cpp b/mozilla/xpcom/components/nsRepository.cpp index ef4c63230f5..d7370d4a763 100644 --- a/mozilla/xpcom/components/nsRepository.cpp +++ b/mozilla/xpcom/components/nsRepository.cpp @@ -17,7 +17,14 @@ */ #include -#include + +#ifndef XP_MAC + // including this on mac causes odd link errors in static initialization stuff that we + // (pinkerton & scc) don't yet understand. If you want to turn this on for mac, talk + // to one of us. + #include +#endif + #ifdef _WIN32 #include #endif diff --git a/mozilla/xpcom/src/nsRepository.cpp b/mozilla/xpcom/src/nsRepository.cpp index ef4c63230f5..d7370d4a763 100644 --- a/mozilla/xpcom/src/nsRepository.cpp +++ b/mozilla/xpcom/src/nsRepository.cpp @@ -17,7 +17,14 @@ */ #include -#include + +#ifndef XP_MAC + // including this on mac causes odd link errors in static initialization stuff that we + // (pinkerton & scc) don't yet understand. If you want to turn this on for mac, talk + // to one of us. + #include +#endif + #ifdef _WIN32 #include #endif