tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

09_mingw_capitalization.patch (2430B)


      1 # HG changeset patch
      2 # User Tom Ritter <tom@mozilla.com>
      3 # Date 1516825559 21600
      4 #      Wed Jan 24 14:25:59 2018 -0600
      5 # Node ID 9ce534c9f572dfb5abd3e409d9cfec069ccee0cd
      6 # Parent  6413cb580dccd986c61e6dbdc72fc370765b8f10
      7 Bug 1431797 Correct the capitalization of headers inside the chromium code so MinGW can compile
      8 
      9 diff --git a/base/win/pe_image.h b/base/win/pe_image.h
     10 --- a/base/win/pe_image.h
     11 +++ b/base/win/pe_image.h
     12 @@ -10,17 +10,17 @@
     13 
     14 #ifndef BASE_WIN_PE_IMAGE_H_
     15 #define BASE_WIN_PE_IMAGE_H_
     16 
     17 #include <windows.h>
     18 
     19 #include <stdint.h>
     20 
     21 -#include <DelayIMP.h>
     22 +#include <delayimp.h>
     23 
     24 namespace base {
     25 namespace win {
     26 
     27 // This class is a wrapper for the Portable Executable File Format (PE).
     28 // Its main purpose is to provide an easy way to work with imports and exports
     29 // from a file, mapped in memory as image. A PEImage object is constructed from
     30 // a loaded PE file by passing the HMODULE to the constructor. Loading a PE file
     31 diff --git a/sandbox/win/src/startup_information_helper.cc b/sandbox/win/src/startup_information_helper.cc
     32 --- a/sandbox/win/src/startup_information_helper.cc
     33 +++ b/sandbox/win/src/startup_information_helper.cc
     34 @@ -1,15 +1,15 @@
     35 // Copyright 2020 The Chromium Authors
     36 // Use of this source code is governed by a BSD-style license that can be
     37 // found in the LICENSE file.
     38 
     39 #include "sandbox/win/src/startup_information_helper.h"
     40 
     41 -#include <Windows.h>
     42 +#include <windows.h>
     43 
     44 #include <vector>
     45 
     46 #include "base/check.h"
     47 #include "base/memory/scoped_refptr.h"
     48 #include "base/ranges/algorithm.h"
     49 #include "base/win/startup_information.h"
     50 #include "base/win/windows_version.h"
     51 diff --git a/sandbox/win/src/startup_information_helper.h b/sandbox/win/src/startup_information_helper.h
     52 --- a/sandbox/win/src/startup_information_helper.h
     53 +++ b/sandbox/win/src/startup_information_helper.h
     54 @@ -1,16 +1,16 @@
     55 // Copyright 2020 The Chromium Authors
     56 // Use of this source code is governed by a BSD-style license that can be
     57 // found in the LICENSE file.
     58 
     59 #ifndef SANDBOX_WIN_SRC_STARTUP_INFORMATION_HELPER_H_
     60 #define SANDBOX_WIN_SRC_STARTUP_INFORMATION_HELPER_H_
     61 
     62 -#include <Windows.h>
     63 +#include <windows.h>
     64 
     65 #include <vector>
     66 
     67 #include "base/memory/scoped_refptr.h"
     68 #include "base/win/startup_information.h"
     69 #include "sandbox/win/src/app_container_base.h"
     70 #include "sandbox/win/src/process_mitigations.h"
     71 #include "sandbox/win/src/security_capabilities.h"