Rename Windows.h to windows.h (#1055)

Make it able to compile on MingW

Fixes #873.

Co-authored-by: Radiant <i.like.using.discord@gmail.com>
This commit is contained in:
Radiant 2023-10-03 16:59:44 +03:00 committed by GitHub
parent 1d0b449181
commit 2a3a030341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
const size_t kPageSize = 4096;
#else

View file

@ -15,7 +15,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#endif
#ifdef __APPLE__

View file

@ -10,7 +10,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#else
#include <dirent.h>
#include <fcntl.h>

View file

@ -13,7 +13,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
const size_t kPageSize = 4096;
#else

View file

@ -15,7 +15,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#elif defined(__linux__) || defined(__APPLE__)

View file

@ -9,7 +9,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#endif
#ifdef __APPLE__

View file

@ -15,7 +15,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h> // IsDebuggerPresent
#include <windows.h> // IsDebuggerPresent
#endif
#ifdef __APPLE__