-
Notifications
You must be signed in to change notification settings - Fork 0
/
Info.txt
41 lines (31 loc) · 1.05 KB
/
Info.txt
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
Author: fastman92
Compilers used:
WIN_X86 - Visual Studio 2015 - Windows XP (v140_xp)
WIN_X64 - Intel C++ Compiler 16.0
ANDROID_ARM32 - Clang 3.8
Very useful extension for Visual Studio:
Solution Configuration Name
https://marketplace.visualstudio.com/items?itemName=ceztko.SolutionConfigurationName-11984
// Preprocessor constants that should be set up.
// These constants will target the problem of different API
IS_PLATFORM_WIN
IS_PLATFORM_LINUX
IS_PLATFORM_ANDROID
// These constants will target the problem of different API and different architecture, which leads to different ASM syntax
IS_PLATFORM_WIN_X86
IS_PLATFORM_WIN_X64
IS_PLATFORM_ANDROID_ARM32
IS_PLATFORM_ANDROID_ARM64
IS_PLATFORM_ANDROID_X86
IS_PLATFORM_ANDROID_X64
// These constants will target the problem of different ASM syntax
IS_ARCHITECTURE_X86
IS_ARCHITECTURE_X64
IS_ARCHITECTURE_ARM32
IS_ARCHITECTURE_ARM64
// These constants will target the problem of different pointer size:
IS_ARCHITECTURE_32_BIT
IS_ARCHITECTURE_64_BIT
/////////////////////////////////////////
How to detect Clang?
#ifdef