Move system specific includes out to a separate file

This commit is contained in:
Joshua Scoggins 2016-04-17 23:48:44 -07:00
parent 8b8ec1f39a
commit 0c847ab479
2 changed files with 7 additions and 16 deletions

View File

@ -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., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 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 * rcg10042001 In case these don't get defined in the project file, try to
* catch them here... * catch them here...
@ -83,3 +84,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define ENGINE_API #define ENGINE_API
#endif #endif
#endif

View File

@ -19,11 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once #pragma once
#endif #endif
#ifdef _WIN32 //#include <Engine/Base/Platform.h>
#ifndef PLATFORM_WIN32 #include <Engine/Base/Base.h>
#define PLATFORM_WIN32 1
#endif
#endif
// set this to 1 to enable checks whether somethig is deleted while iterating some array/container // set this to 1 to enable checks whether somethig is deleted while iterating some array/container
#define CHECKARRAYLOCKING 0 #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 <search.h> // for qsort
#include <float.h> // for FPU control #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/Types.h>
#include <Engine/Base/Input.h> #include <Engine/Base/Input.h>