forked from mirrors/gecko-dev
Bug 1849927 - Fix MinGW build errors. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D186837
This commit is contained in:
parent
7a36a26eb0
commit
dd444d46f2
4 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# include "nsPrintfCString.h"
|
||||
#endif // defined(MOZILLA_INTERNAL_API)
|
||||
|
||||
#if NTDDI_VERSION < NTDDI_WINBLUE
|
||||
#if NTDDI_VERSION < NTDDI_WINBLUE || defined(__MINGW32__)
|
||||
|
||||
// Declarations from Windows SDK specific to Windows 8.1
|
||||
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ DeriveAppContainerSidFromAppContainerName(
|
|||
#define PROCESS_CREATION_MITIGATION_POLICY_BLOCK_NON_MICROSOFT_BINARIES_RESERVED (0x00000003uLL << 44)
|
||||
#endif
|
||||
|
||||
#if (_WIN32_WINNT < 0x0A00)
|
||||
#if (_WIN32_WINNT < 0x0A00) || defined(__MINGW32__)
|
||||
//
|
||||
// Define Font Disable Policy. When enabled, this option will
|
||||
// block loading Non System Fonts.
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace {
|
|||
|
||||
#if defined(XP_WIN)
|
||||
|
||||
# if (NTDDI_VERSION < NTDDI_WINBLUE) || \
|
||||
# if defined(__MINGW32__) || (NTDDI_VERSION < NTDDI_WINBLUE) || \
|
||||
(NTDDI_VERSION == NTDDI_WINBLUE && !defined(WINBLUE_KBSPRING14))
|
||||
// Definitions for heap optimization that require the Windows SDK to target the
|
||||
// Windows 8.1 Update
|
||||
|
|
|
|||
|
|
@ -930,7 +930,7 @@ nsresult CollectProcessInfo(ProcessInfo& info) {
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
#if defined(XP_WIN) && (_WIN32_WINNT < 0x0A00)
|
||||
#if defined(XP_WIN) && (_WIN32_WINNT < 0x0A00) || defined(__MINGW32__)
|
||||
WINBASEAPI
|
||||
BOOL WINAPI IsUserCetAvailableInEnvironment(_In_ DWORD UserCetEnvironment);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue