mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 13:00:38 +00:00
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:
parent
1d0b449181
commit
2a3a030341
7 changed files with 7 additions and 7 deletions
|
@ -10,7 +10,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
const size_t kPageSize = 4096;
|
||||
#else
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
const size_t kPageSize = 4096;
|
||||
#else
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h> // IsDebuggerPresent
|
||||
#include <windows.h> // IsDebuggerPresent
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
Loading…
Reference in a new issue