aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/src/Include/config_platform.h
blob: 214db549ac1acabbde0902176f137c080f2eadcd (plain) (blame)
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
#include <util/system/platform.h>

#ifdef _win_
#   define _WIN32_
#endif

#ifdef _linux_
#   define _UNIX_
#   define _LINUX_
#endif

#ifdef _freebsd_
#   define _UNIX_
#   define _FREEBSD_
#endif

#ifdef _darwin_
#   define _UNIX_
#   define _DARWIN_
#endif

#ifdef _cygwin_
#   define _UNIX_
#   define _CYGWIN_
#endif

#ifdef _arm_
#   define _ARM_
#endif