summaryrefslogtreecommitdiff
path: root/uriloader/exthandler/nsLocalHandlerApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'uriloader/exthandler/nsLocalHandlerApp.h')
-rw-r--r--uriloader/exthandler/nsLocalHandlerApp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/uriloader/exthandler/nsLocalHandlerApp.h b/uriloader/exthandler/nsLocalHandlerApp.h
index 2e6ba6d8c3..30b410ce32 100644
--- a/uriloader/exthandler/nsLocalHandlerApp.h
+++ b/uriloader/exthandler/nsLocalHandlerApp.h
@@ -46,8 +46,15 @@ protected:
nsresult LaunchWithIProcess(const nsCString &aArg);
};
-// Any platforms that need a platform-specific class instead of just
+// any platforms that need a platform-specific class instead of just
// using nsLocalHandlerApp need to add an include and a typedef here.
+#ifdef XP_MACOSX
+# ifndef NSLOCALHANDLERAPPMAC_H_
+# include "mac/nsLocalHandlerAppMac.h"
+typedef nsLocalHandlerAppMac PlatformLocalHandlerApp_t;
+# endif
+#else
typedef nsLocalHandlerApp PlatformLocalHandlerApp_t;
+#endif
#endif // __nsLocalHandlerAppImpl_h__