Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base/allocator/virtual_memory_win.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2022 Vincent Hengel.
// For licensing information see LICENSE at the root of this distribution.

#include <Windows.h>
#include <windows.h>
#include <base/allocator/virtual_memory.h>

namespace base {
Expand Down
2 changes: 1 addition & 1 deletion base/debugging/debugging_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "debugging.h"

#if defined(OS_WIN)
#include <Windows.h>
#include <windows.h>
#endif

namespace base {
Expand Down
2 changes: 1 addition & 1 deletion base/dynamic_library_win.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2022 Vincent Hengel.
// For licensing information see LICENSE at the root of this distribution.

#include <Windows.h>
#include <windows.h>
#include <base/check.h>
#include <base/filesystem/path.h>
#include <base/dynamic_library.h>
Expand Down
2 changes: 1 addition & 1 deletion base/environment_variables_win.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2022 Vincent Hengel.
// For licensing information see LICENSE at the root of this distribution.

#include <Windows.h>
#include <windows.h>
#include <base/environment_variables.h>
#include <base/text/code_convert.h>

Expand Down
2 changes: 1 addition & 1 deletion base/process/process_win.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2022 Vincent Hengel.
// For licensing information see LICENSE at the root of this distribution.

#include <Windows.h>
#include <windows.h>
#include <base/filesystem/path.h>
#include <base/text/code_convert.h>

Expand Down
2 changes: 1 addition & 1 deletion base/profiling/profiler_communication.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <base/environment_variables.h>

#if defined(OS_WIN)
#include <Windows.h>
#include <windows.h>
#endif

#include <base/profiling/profiler_communication.h>
Expand Down
4 changes: 2 additions & 2 deletions base/random/random_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#include "random.h"

#include <Windows.h>
#include <Wincrypt.h>
#include <windows.h>
#include <wincrypt.h>

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/threading/thread_win.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) Force67 <github.com/Force67>.
// For licensing information see LICENSE at the root of this distribution.

#include <Windows.h>
#include <windows.h>
#include <base/feature.h>
#include <base/check.h>
#include <base/threading/thread.h>
Expand Down
2 changes: 1 addition & 1 deletion base/win/com_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For licensing information see LICENSE at the root of this distribution.
#pragma once

#include <Shlwapi.h>
#include <shlwapi.h>

namespace base::win {

Expand Down
9 changes: 9 additions & 0 deletions base/win/minwin.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
#include <sal.h>
#include <specstrings.h>

#if defined(__MINGW32__)
// __int64 is an MSVC keyword. MinGW's runtime header is what defines it there,
// and nothing else pulled in above reaches it.
#include <_mingw.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -362,6 +368,9 @@ WINBASEAPI DWORD WINAPI WaitForSingleObject(HANDLE hHandle,

WINBASEAPI BOOL WINAPI CloseHandle(HANDLE hObject);

// Needed for thread_pool.cc.
WINBASEAPI VOID WINAPI Sleep(DWORD dwMilliseconds);

#ifdef __cplusplus
}

Expand Down
2 changes: 1 addition & 1 deletion base/win/registry_key_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "registry_key.h"

#include <Windows.h>
#include <windows.h>
#include <base/check.h>

extern "C" __declspec(dllimport) DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR lpSrc,
Expand Down
2 changes: 1 addition & 1 deletion base/win/scoped_handle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <Windows.h>
#include <windows.h>
#include "base/win/scoped_handle.h"

namespace base {
Expand Down