Fixes for Unix widget so loading

git-svn-id: svn://10.0.0.236/trunk@1597 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
spider
1998-05-14 01:48:54 +00:00
parent 8fc73d2700
commit 71a19f5b61

View File

@@ -116,11 +116,12 @@ void nsShellInstance::SetApplicationShell(nsIApplicationShell * aApplicationShel
nsresult nsShellInstance::RegisterFactories()
{
// hardcode names of dll's
#define WIDGET_DLL "raptorwidget.dll"
#ifdef NS_WIN32
#define GFXWIN_DLL "raptorgfxwin.dll"
#define WIDGET_DLL "raptorwidget.dll"
#else
#define GFXWIN_DLL "raptorgfxunix.dll"
#define GFXWIN_DLL "libgfxunix.so"
#define WIDGET_DLL "libwidgetunix.so"
#endif
// register graphics classes