mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-04-01 23:49:44 -04:00
Merge ee1ff8b888
into 7fa8da59d2
This commit is contained in:
commit
147ab24f3f
1 changed files with 8 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 {
|
||||
|
@ -99,6 +106,7 @@ void File::seek(File::pos_t p, SeekMode s)
|
|||
|
||||
DWORD m;
|
||||
switch (s) {
|
||||
default:
|
||||
case SeekStart:
|
||||
m = FILE_BEGIN;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue