mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-12-03 12:26:59 -05:00
Fix building of libweaver under MSYS2
This commit is contained in:
parent
76dab7dfd9
commit
a41a82feab
1 changed files with 7 additions and 0 deletions
|
@ -1,11 +1,18 @@
|
|||
#include "file.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
#else
|
||||
|
||||
#include <fstream>
|
||||
#define FSTR(x) static_cast<std::fstream*>(x)
|
||||
|
||||
#endif
|
||||
|
||||
namespace si {
|
||||
|
|
Loading…
Reference in a new issue