From 69c736c565fa09a6869da4ca635216b0cef4cf8f Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Thu, 25 Feb 1999 06:13:48 +0000 Subject: [PATCH] Add another ifdef to fix build git-svn-id: svn://10.0.0.236/trunk@21874 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/mac/nsAppShell.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/widget/src/mac/nsAppShell.cpp b/mozilla/widget/src/mac/nsAppShell.cpp index d5fccf4a2d1..32adb30d41d 100644 --- a/mozilla/widget/src/mac/nsAppShell.cpp +++ b/mozilla/widget/src/mac/nsAppShell.cpp @@ -191,10 +191,14 @@ nsresult nsAppShell::DispatchNativeEvent(void * aEvent) NS_METHOD nsAppShell::GetSelectionMgr(nsISelectionMgr** aSelectionMgr) { +#ifdef USE_SELECTION_MGR *aSelectionMgr = mSelectionMgr; NS_IF_ADDREF(mSelectionMgr); if (!mSelectionMgr) return NS_ERROR_NOT_INITIALIZED; return NS_OK; +#else /* USE_SELECTION_MGR */ + return NS_ERROR_NOT_IMPLEMENTED; +#endif /* USE_SELECTION_MGR */ }