-
-
Notifications
You must be signed in to change notification settings - Fork 184
/
Copy pathPlatform.h
35 lines (27 loc) · 887 Bytes
/
Platform.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
/*
* Copyright (c) scott.cgi All Rights Reserved.
*
* This source code belongs to project Mojoc, which is a pure C Game Engine hosted on GitHub.
* The Mojoc Game Engine is licensed under the MIT License, and will continue to be iterated with coding passion.
*
* License : https://github.com/scottcgi/Mojoc/blob/master/LICENSE
* GitHub : https://github.com/scottcgi/Mojoc
* CodeStyle: https://github.com/scottcgi/Mojoc/blob/master/Docs/CodeStyle.md
*
* Since : 2015-5-6
* Update : 2019-1-8
* Author : scott.cgi
*/
#ifndef PLATFORM_H
#define PLATFORM_H
#define PLATFORM_ANDROID 0
#define PLATFORM_IOS 1
#define PLATFORM_TARGET PLATFORM_ANDROID
#if PLATFORM_TARGET == PLATFORM_ANDROID
#define IS_PLATFORM_ANDROID
#elif PLATFORM_TARGET == PLATFORM_IOS
#define IS_PLATFORM_IOS
#endif
//------------------
#endif // PLATFORM_H
//------------------