mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-04-09 03:14:26 -04:00
lib: move algorithm to types.h
This commit is contained in:
parent
ae2363be42
commit
9949a6c33a
3 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ bool File::Open(const char *c, Mode mode)
|
|||
mode == Read ? OPEN_EXISTING : CREATE_NEW,
|
||||
FILE_ATTRIBUTE_NORMAL,
|
||||
NULL);
|
||||
m_Mode = mode;
|
||||
return m_Handle != INVALID_HANDLE_VALUE;
|
||||
#else
|
||||
std::ios::openmode m = std::ios::binary;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define FILE_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <algorithm>
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#include <fstream>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <map>
|
||||
|
|
Loading…
Add table
Reference in a new issue