mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Move system specific includes out to a separate file
This commit is contained in:
parent
8b8ec1f39a
commit
0c847ab479
|
@ -13,7 +13,8 @@ You should have received a copy of the GNU General Public License along
|
|||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||
|
||||
|
||||
#ifndef SE_INCL_ENGINE_BASE_BASE_H
|
||||
#define SE_INCL_ENGINE_BASE_BASE_H
|
||||
/*
|
||||
* rcg10042001 In case these don't get defined in the project file, try to
|
||||
* catch them here...
|
||||
|
@ -83,3 +84,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define ENGINE_API
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -19,11 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#pragma once
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef PLATFORM_WIN32
|
||||
#define PLATFORM_WIN32 1
|
||||
#endif
|
||||
#endif
|
||||
//#include <Engine/Base/Platform.h>
|
||||
#include <Engine/Base/Base.h>
|
||||
|
||||
// set this to 1 to enable checks whether somethig is deleted while iterating some array/container
|
||||
#define CHECKARRAYLOCKING 0
|
||||
|
@ -38,17 +35,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <search.h> // for qsort
|
||||
#include <float.h> // for FPU control
|
||||
|
||||
/* rcg10042001 !!! FIXME: Move these somewhere. */
|
||||
#if (defined PLATFORM_WIN32)
|
||||
#include <malloc.h>
|
||||
#include <conio.h>
|
||||
#include <crtdbg.h>
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h> // for timers
|
||||
#endif
|
||||
|
||||
#include <Engine/Base/Base.h>
|
||||
#include <Engine/Base/SystemSpecificInclude.h>
|
||||
|
||||
#include <Engine/Base/Types.h>
|
||||
|
||||
#include <Engine/Base/Input.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user