Skip to content

Commit

Permalink
Fix build failing when cross-compiling using MinGW on Linux
Browse files Browse the repository at this point in the history
Close issue #222
  • Loading branch information
rikyoz committed Jun 24, 2024
1 parent 24ad26f commit f04d819
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/bit7z/bitwindows.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#include <propidl.h>
#else

Expand Down
2 changes: 1 addition & 1 deletion src/internal/stringutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "internal/stringutil.hpp"

#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#ifdef BIT7Z_USE_SYSTEM_CODEPAGE
#define CODEPAGE CP_ACP
#define CODEPAGE_WC_FLAGS WC_NO_BEST_FIT_CHARS
Expand Down
2 changes: 1 addition & 1 deletion tests/src/utils/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#ifdef _WIN32
#include <array>
#include <Windows.h>
#include <windows.h>
#elif defined( __APPLE__ )
#include <array>
#include <libproc.h> // for proc_pidpath and PROC_PIDPATHINFO_MAXSIZE
Expand Down

0 comments on commit f04d819

Please sign in to comment.