From ecf6217ae9bbc4ecfac9fb1ac4f9a7e72b19fdcb Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 11 Aug 2012 11:51:32 +0000 Subject: Removed a useless include file. git-svn-id: http://mc-server.googlecode.com/svn/trunk@725 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/FileDefine.h | 21 --------------------- source/cFurnaceEntity.h | 2 +- source/cInventory.h | 5 ++++- source/cLog.h | 2 -- 4 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 source/FileDefine.h diff --git a/source/FileDefine.h b/source/FileDefine.h deleted file mode 100644 index c75fb3110..000000000 --- a/source/FileDefine.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -// So we don't have to include fstream :P -#ifdef _WIN32 -#ifndef _FILE_DEFINED -struct _iobuf { - char *_ptr; - int _cnt; - char *_base; - int _flag; - int _file; - int _charbuf; - int _bufsiz; - char *_tmpfname; -}; -typedef struct _iobuf FILE; -#define _FILE_DEFINED -#endif -#else -#include -#endif \ No newline at end of file diff --git a/source/cFurnaceEntity.h b/source/cFurnaceEntity.h index 2a8581eb9..d133561a1 100644 --- a/source/cFurnaceEntity.h +++ b/source/cFurnaceEntity.h @@ -3,7 +3,6 @@ #include "cBlockEntity.h" #include "cWindowOwner.h" -#include "FileDefine.h" #include "cItem.h" @@ -21,6 +20,7 @@ class cServer; + class cFurnaceEntity : public cBlockEntity, public cBlockEntityWindowOwner diff --git a/source/cInventory.h b/source/cInventory.h index f795a9898..2336df57f 100644 --- a/source/cInventory.h +++ b/source/cInventory.h @@ -2,7 +2,10 @@ #pragma once #include "cWindowOwner.h" -#include "FileDefine.h" + + + + namespace Json { diff --git a/source/cLog.h b/source/cLog.h index f48dae822..b405b52a4 100644 --- a/source/cLog.h +++ b/source/cLog.h @@ -1,8 +1,6 @@ #pragma once -#include "FileDefine.h" - -- cgit v1.2.3