зеркало из https://github.com/mozilla/gecko-dev.git
Fix bustage on Unicode-supporting versions of windows caused by nsFileSpec.h having an |#undef CreateDirectory|.
This commit is contained in:
Родитель
7f252810a0
Коммит
3236846d7d
|
@ -26,13 +26,7 @@
|
||||||
#define MAX_BUF 4096
|
#define MAX_BUF 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "nsWindowsHooks.h"
|
|
||||||
#include <windows.h>
|
|
||||||
#include <shlobj.h>
|
|
||||||
#include <shlguid.h>
|
|
||||||
|
|
||||||
// Implementation utilities.
|
// Implementation utilities.
|
||||||
#include "nsWindowsHooksUtil.cpp"
|
|
||||||
#include "nsIDOMWindowInternal.h"
|
#include "nsIDOMWindowInternal.h"
|
||||||
#include "nsIServiceManager.h"
|
#include "nsIServiceManager.h"
|
||||||
#include "nsIPromptService.h"
|
#include "nsIPromptService.h"
|
||||||
|
@ -43,6 +37,15 @@
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
#include "nsMemory.h"
|
#include "nsMemory.h"
|
||||||
|
|
||||||
|
// The order of these headers is important on Win2K because CreateDirectory
|
||||||
|
// is |#undef|-ed in nsFileSpec.h, so we need to pull in windows.h for the
|
||||||
|
// first time after nsFileSpec.h.
|
||||||
|
#include "nsWindowsHooksUtil.cpp"
|
||||||
|
#include "nsWindowsHooks.h"
|
||||||
|
#include <windows.h>
|
||||||
|
#include <shlobj.h>
|
||||||
|
#include <shlguid.h>
|
||||||
|
|
||||||
// Objects that describe the Windows registry entries that we need to tweak.
|
// Objects that describe the Windows registry entries that we need to tweak.
|
||||||
static ProtocolRegistryEntry
|
static ProtocolRegistryEntry
|
||||||
http( "http" ),
|
http( "http" ),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче