Bug 1852806 - Remove macros for older Windows SDK from toolkit/xre/dllservices/. r=gstoll

Depends on D188028

Differential Revision: https://phabricator.services.mozilla.com/D188029
This commit is contained in:
Masatoshi Kimura 2023-09-15 03:19:28 +00:00
Родитель 0fac3ee79d
Коммит b435b3868f
2 изменённых файлов: 0 добавлений и 16 удалений

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

@ -4,16 +4,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// We need Windows 8 functions and structures to be able to verify SHA-256.
#if defined(_WIN32_WINNT)
# undef _WIN32_WINNT
# define _WIN32_WINNT _WIN32_WINNT_WIN8
#endif // defined(_WIN32_WINNT)
#if defined(NTDDI_VERSION)
# undef NTDDI_VERSION
# define NTDDI_VERSION NTDDI_WIN8
#endif // defined(NTDDI_VERSION)
#include "Authenticode.h"
#include "mozilla/ArrayUtils.h"

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

@ -57,12 +57,6 @@ void __fastcall BaseThreadInitThunk(BOOL aIsInitialThread, void* aStartAddress,
BOOL WINAPI ApiSetQueryApiSetPresence(PCUNICODE_STRING, PBOOLEAN);
#if (_WIN32_WINNT < 0x0602)
BOOL WINAPI
SetProcessMitigationPolicy(PROCESS_MITIGATION_POLICY aMitigationPolicy,
PVOID aBuffer, SIZE_T aBufferLen);
#endif // (_WIN32_WINNT < 0x0602)
#define RtlGenRandom SystemFunction036
extern "C" BOOLEAN NTAPI RtlGenRandom(PVOID aRandomBuffer,
ULONG aRandomBufferLength);