fixes bug 281952 "XULrunner build error: unresolved external symbol __pr_hInstance" patch by dougt, r=bsmedberg, sr=darin
git-svn-id: svn://10.0.0.236/trunk@169568 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -40,10 +40,6 @@
|
||||
#include <windows.h>
|
||||
#include "nsToolkit.h"
|
||||
|
||||
extern "C" {
|
||||
extern HINSTANCE _pr_hInstance;
|
||||
}
|
||||
|
||||
#if defined(__GNUC__)
|
||||
// If DllMain gets name mangled, it won't be seen.
|
||||
extern "C" {
|
||||
@@ -56,7 +52,6 @@ BOOL APIENTRY DllMain( HINSTANCE hModule,
|
||||
switch( reason ) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
nsToolkit::Startup(hModule);
|
||||
_pr_hInstance = hModule;
|
||||
break;
|
||||
|
||||
case DLL_THREAD_ATTACH:
|
||||
@@ -67,7 +62,6 @@ BOOL APIENTRY DllMain( HINSTANCE hModule,
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
nsToolkit::Shutdown();
|
||||
_pr_hInstance = NULL;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user