forked from ufoaiorg/ufoai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
67 lines (57 loc) · 987 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#pragma once
#include <SDL_platform.h>
#include <stdlib.h>
#ifndef __LINUX__
#ifndef __MACOSX__
#ifndef __WIN64__
#ifndef __WIN32__
#ifndef __ANDROID__
#ifndef EMSCRIPTEN
#ifndef __IPHONEOS__
#ifndef __FREEBSD__
#ifndef __OPENBSD__
#ifndef PANDORA
#error The target platform was not found. Please add to config.h.
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#ifdef __LINUX__
#include "linux-config.h"
#endif
#ifdef __MACOSX__
#include "darwin-config.h"
#endif
#ifdef __WIN64__
#include "mingw64_64.h"
#elif defined __WIN32__
#ifdef __MINGW64_VERSION_MAJOR
#include "mingw64-config.h"
#else
#include "mingw32-config.h"
#endif
#endif
#ifdef EMSCRIPTEN
#include "html5-config.h"
#endif
#ifdef __ANDROID__
#include "android-config.h"
#endif
#ifdef __IPHONEOS__
#include "ios-config.h"
#endif
#ifdef __FREEBSD__
#include "freebsd-config.h"
#endif
#ifdef __OPENBSD__
#include "openbsd-config.h"
#endif
#ifdef PANDORA
#include "openpandora-config.h"
#endif