Bug 1431797 Correct the capitalization of headers inside the chromium code so MinGW can compile r=bobowen
authorTom Ritter <tom@mozilla.com>
Wed, 24 Jan 2018 14:25:59 -0600
changeset 400659 8b4b24642ae391540f1366d06cc8f9a0589753db
parent 400658 28ee1007dae0727fac6ce03d9bc89cf041bcfe27
child 400660 6067a5ed02a14505ba43b7a4b3c9e61f00b6dbbc
push id33312
push userncsoregi@mozilla.com
push dateThu, 25 Jan 2018 10:12:52 +0000
treeherdermozilla-central@6a8c0e1a251c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbobowen
bugs1431797
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1431797 Correct the capitalization of headers inside the chromium code so MinGW can compile r=bobowen MozReview-Commit-ID: DFlruq4iIUe
security/sandbox/chromium/base/rand_util_win.cc
security/sandbox/chromium/base/win/pe_image.h
security/sandbox/chromium/sandbox/win/src/acl.h
security/sandbox/chromium/sandbox/win/src/broker_services.cc
security/sandbox/chromium/sandbox/win/src/sandbox_rand.cc
--- a/security/sandbox/chromium/base/rand_util_win.cc
+++ b/security/sandbox/chromium/base/rand_util_win.cc
@@ -7,17 +7,17 @@
 #include <windows.h>
 #include <stddef.h>
 #include <stdint.h>
 
 // #define needed to link in RtlGenRandom(), a.k.a. SystemFunction036.  See the
 // "Community Additions" comment on MSDN here:
 // http://msdn.microsoft.com/en-us/library/windows/desktop/aa387694.aspx
 #define SystemFunction036 NTAPI SystemFunction036
-#include <NTSecAPI.h>
+#include <ntsecapi.h>
 #undef SystemFunction036
 
 #include <algorithm>
 #include <limits>
 
 #include "base/logging.h"
 
 namespace base {
--- a/security/sandbox/chromium/base/win/pe_image.h
+++ b/security/sandbox/chromium/base/win/pe_image.h
@@ -12,17 +12,17 @@
 #define BASE_WIN_PE_IMAGE_H_
 
 #include <windows.h>
 
 #if defined(_WIN32_WINNT_WIN8)
 // The Windows 8 SDK defines FACILITY_VISUALCPP in winerror.h.
 #undef FACILITY_VISUALCPP
 #endif
-#include <DelayIMP.h>
+#include <delayimp.h>
 
 namespace base {
 namespace win {
 
 // This class is a wrapper for the Portable Executable File Format (PE).
 // Its main purpose is to provide an easy way to work with imports and exports
 // from a file, mapped in memory as image.
 class PEImage {
--- a/security/sandbox/chromium/sandbox/win/src/acl.h
+++ b/security/sandbox/chromium/sandbox/win/src/acl.h
@@ -1,16 +1,16 @@
 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
 #ifndef SANDBOX_SRC_ACL_H_
 #define SANDBOX_SRC_ACL_H_
 
-#include <AccCtrl.h>
+#include <accctrl.h>
 #include <windows.h>
 
 #include <memory>
 
 #include "base/memory/free_deleter.h"
 #include "sandbox/win/src/sid.h"
 
 namespace sandbox {
--- a/security/sandbox/chromium/sandbox/win/src/broker_services.cc
+++ b/security/sandbox/chromium/sandbox/win/src/broker_services.cc
@@ -1,15 +1,15 @@
 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
 #include "sandbox/win/src/broker_services.h"
 
-#include <AclAPI.h>
+#include <aclapi.h>
 #include <stddef.h>
 
 #include <utility>
 
 #include "base/logging.h"
 #include "base/macros.h"
 #include "base/memory/ptr_util.h"
 #include "base/threading/platform_thread.h"
--- a/security/sandbox/chromium/sandbox/win/src/sandbox_rand.cc
+++ b/security/sandbox/chromium/sandbox/win/src/sandbox_rand.cc
@@ -5,17 +5,17 @@
 #include "sandbox/win/src/sandbox_rand.h"
 
 #include <windows.h>
 
 // #define needed to link in RtlGenRandom(), a.k.a. SystemFunction036.  See the
 // "Community Additions" comment on MSDN here:
 // http://msdn.microsoft.com/en-us/library/windows/desktop/aa387694.aspx
 #define SystemFunction036 NTAPI SystemFunction036
-#include <NTSecAPI.h>
+#include <ntsecapi.h>
 #undef SystemFunction036
 
 namespace sandbox {
 
 bool GetRandom(unsigned int* random_value) {
   return RtlGenRandom(random_value, sizeof(unsigned int)) != FALSE;
 }