mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-27 09:35:45 -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"
|
#include "file.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#define FSTR(x) static_cast<std::fstream*>(x)
|
#define FSTR(x) static_cast<std::fstream*>(x)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace si {
|
namespace si {
|
||||||
|
|
Loading…
Reference in a new issue