summaryrefslogtreecommitdiff
path: root/zap/include/zap/sys.d/cmp.h
blob: efc612608e4f8fb42267816000fd0794890d2056 (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
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
/*
	Copyright 2022-2023 Gabriel Jensen.
	This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
	If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>.
*/

#if \
   defined(__clang__) \
|| defined(__llvm__)
#define zap_cmp_clang (0x1)
#endif

#if \
	defined(_CRAYC)
#define zap_cmp_cray (0x1)
#endif

#if \
   defined(__GNUC__)
#define zap_cmp_gcc (0x1)
#endif

#if \
   defined(__EDG__)
#define zap_cmp_edg (0x1)
#endif

#if \
   defined(__ICC) \
|| defined(__ICL) \
|| defined(__INTEL_COMPILER)
#define zap_cmp_icc (0x1)
#endif

#if \
   defined(__INTEL_LLVM_COMPILER)
#define zap_icx (0x1)
#endif

#if \
   defined(_MSC_VER)
#define zap_cmp_msvc (0x1)
#endif

#if \
   defined(__open_xl__)
#define zap_cmp_xlc (0x1)
#endif

#if \
   defined(__VAX11C) \
|| defined(__VAXC)   \
|| defined(__vax11c) \
|| defined(__vaxc)
#define zap_cmp_vsi (0x1)
#endif

#if \
   defined(__WATCOMC__)
#define zap_cmp_watcom (0x1)
#endif

#if \
   defined(__TINYC__)
#define zap_cmp_tiny (0x1)
#endif