Bug 612356 - Add NS_SetDllDirectory to dlldeps.cpp; r=khuey a=NPOTB

This commit is contained in:
Ehsan Akhgari 2010-11-15 15:16:34 -05:00
Родитель ce3e2eb070
Коммит 3757389d74
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -61,6 +61,7 @@ CPPSRCS += dlldeps-zlib.cpp
endif endif
LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/windows LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/windows
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
endif endif
ifneq (,$(filter WINNT OS2,$(OS_ARCH))) ifneq (,$(filter WINNT OS2,$(OS_ARCH)))
@ -86,6 +87,7 @@ RCFLAGS += -i $(topsrcdir)/widget/src/os2
endif endif
LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/os2 LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/os2
LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/base
endif endif
# dependent libraries # dependent libraries

Просмотреть файл

@ -41,6 +41,7 @@
#ifdef XP_WIN #ifdef XP_WIN
#include <windows.h> #include <windows.h>
#include "nsWindowsRegKey.h" #include "nsWindowsRegKey.h"
#include "nsSetDllDirectory.h"
#ifdef DEBUG #ifdef DEBUG
#include "pure.h" #include "pure.h"
#endif #endif
@ -281,6 +282,7 @@ void XXXNeverCalled()
sXPCOMHasLoadedNewDLLs = !sXPCOMHasLoadedNewDLLs; sXPCOMHasLoadedNewDLLs = !sXPCOMHasLoadedNewDLLs;
NS_SetHasLoadedNewDLLs(); NS_SetHasLoadedNewDLLs();
NS_NewWindowsRegKey(nsnull); NS_NewWindowsRegKey(nsnull);
NS_SetDllDirectory(nsnull);
#if defined (DEBUG) && !defined (WINCE) #if defined (DEBUG) && !defined (WINCE)
PurePrintf(0); PurePrintf(0);
#endif #endif