From da170b8a6286e05c4719820778252b6946f0944e Mon Sep 17 00:00:00 2001 From: "jfrancis%netscape.com" Date: Wed, 18 Nov 1998 02:44:02 +0000 Subject: [PATCH] more shared lib conversion work. git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/mac/nsGfxFactoryMac.cpp | 4 ++-- mozilla/widget/src/mac/nsWidgetFactory.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/gfx/src/mac/nsGfxFactoryMac.cpp b/mozilla/gfx/src/mac/nsGfxFactoryMac.cpp index c36448e3b9f..e2322a6c2e9 100644 --- a/mozilla/gfx/src/mac/nsGfxFactoryMac.cpp +++ b/mozilla/gfx/src/mac/nsGfxFactoryMac.cpp @@ -160,9 +160,9 @@ nsresult nsGfxFactoryMac::LockFactory(PRBool aLock) } // return the proper factory to the caller -#ifdef GFX_STATIC +#ifdef MAC_STATIC extern "C" NS_GFXNONXP nsresult NSGetFactory_GFXWIN_DLL(const nsCID &aClass, nsIFactory **aFactory) -#elif defined(GFX_SHARED) +#elif defined(MAC_SHARED) #pragma export on extern "C" NS_GFXNONXP nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory) #pragma export off diff --git a/mozilla/widget/src/mac/nsWidgetFactory.cpp b/mozilla/widget/src/mac/nsWidgetFactory.cpp index 42de10e54d2..4cad9ea6b63 100644 --- a/mozilla/widget/src/mac/nsWidgetFactory.cpp +++ b/mozilla/widget/src/mac/nsWidgetFactory.cpp @@ -261,9 +261,9 @@ nsresult nsWidgetFactory::LockFactory(PRBool aLock) } // return the proper factory to the caller -#ifdef WIDGET_STATIC +#ifdef MAC_STATIC extern "C" NS_WIDGET nsresult NSGetFactory_WIDGET_DLL(const nsCID &aClass, nsIFactory **aFactory) -#elif defined(WIDGET_SHARED) +#elif defined(MAC_SHARED) #pragma export on extern "C" NS_WIDGET nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFactory) #pragma export off