mirror of https://github.com/OpenMW/openmw.git
Conditionally build cpp for platform, remove obsolete header
parent
3d5f898920
commit
03302a8f5b
@ -1,19 +0,0 @@
|
|||||||
#ifndef COMPONENT_PLATFORM_FILE_HPP
|
|
||||||
#define COMPONENT_PLATFORM_FILE_HPP
|
|
||||||
|
|
||||||
namespace Platform
|
|
||||||
{
|
|
||||||
#define PLATFORM_TYPE_STDIO 0
|
|
||||||
#define PLATFORM_TYPE_WIN32 1
|
|
||||||
#define PLATFORM_TYPE_POSIX 2
|
|
||||||
|
|
||||||
#if defined(__linux) || defined(__unix) || defined(__posix)
|
|
||||||
#define PLATFORM_TYPE PLATFORM_TYPE_POSIX
|
|
||||||
#elif defined(_WIN32)
|
|
||||||
#define PLATFORM_TYPE PLATFORM_TYPE_WIN32
|
|
||||||
#else
|
|
||||||
#define PLATFORM_TYPE PLATFORM_TYPE_STDIO
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue