Skip to content

Commit

Permalink
fix compile error on mingw-w64 (rename Windows.h => windows.h)
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid authored and yixy-only committed May 1, 2024
1 parent dfd2731 commit 02c50d2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "ege_head.h"
#include "ege_common.h"

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

namespace ege
{
Expand Down
2 changes: 1 addition & 1 deletion src/ege_dllimport.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <Windows.h>
#include <windows.h>
#include <windef.h>

namespace dll
Expand Down
2 changes: 1 addition & 1 deletion src/encodeconv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "encodeconv.h"
#include "ege_head.h"

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

namespace ege
{
Expand Down
2 changes: 1 addition & 1 deletion src/image.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "ege_head.h"
#include <Windows.h>
#include <windows.h>


namespace ege
Expand Down
2 changes: 1 addition & 1 deletion src/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "stdint.h"
#endif

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

#if !defined(EGE_W64)
#if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
Expand Down
2 changes: 1 addition & 1 deletion src/window.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <Windows.h>
#include <windows.h>
#include <windef.h>
#include "type.h"
#include <string>
Expand Down

0 comments on commit 02c50d2

Please sign in to comment.