MessagePack for C
open.h
Go to the documentation of this file.
1 /*
2 Copyright Rene Rivera 2012-2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 */
7 
8 #ifndef MSGPACK_PREDEF_OS_BSD_OPEN_H
9 #define MSGPACK_PREDEF_OS_BSD_OPEN_H
10 
11 #include <msgpack/predef/os/bsd.h>
12 
13 /*`
14 [heading `MSGPACK_OS_BSD_OPEN`]
15 
16 [@http://en.wikipedia.org/wiki/Openbsd OpenBSD] operating system.
17 
18 [table
19  [[__predef_symbol__] [__predef_version__]]
20 
21  [[`__OpenBSD__`] [__predef_detection__]]
22 
23  [[`OpenBSD2_0`] [2.0.0]]
24  [[`OpenBSD2_1`] [2.1.0]]
25  [[`OpenBSD2_2`] [2.2.0]]
26  [[`OpenBSD2_3`] [2.3.0]]
27  [[`OpenBSD2_4`] [2.4.0]]
28  [[`OpenBSD2_5`] [2.5.0]]
29  [[`OpenBSD2_6`] [2.6.0]]
30  [[`OpenBSD2_7`] [2.7.0]]
31  [[`OpenBSD2_8`] [2.8.0]]
32  [[`OpenBSD2_9`] [2.9.0]]
33  [[`OpenBSD3_0`] [3.0.0]]
34  [[`OpenBSD3_1`] [3.1.0]]
35  [[`OpenBSD3_2`] [3.2.0]]
36  [[`OpenBSD3_3`] [3.3.0]]
37  [[`OpenBSD3_4`] [3.4.0]]
38  [[`OpenBSD3_5`] [3.5.0]]
39  [[`OpenBSD3_6`] [3.6.0]]
40  [[`OpenBSD3_7`] [3.7.0]]
41  [[`OpenBSD3_8`] [3.8.0]]
42  [[`OpenBSD3_9`] [3.9.0]]
43  [[`OpenBSD4_0`] [4.0.0]]
44  [[`OpenBSD4_1`] [4.1.0]]
45  [[`OpenBSD4_2`] [4.2.0]]
46  [[`OpenBSD4_3`] [4.3.0]]
47  [[`OpenBSD4_4`] [4.4.0]]
48  [[`OpenBSD4_5`] [4.5.0]]
49  [[`OpenBSD4_6`] [4.6.0]]
50  [[`OpenBSD4_7`] [4.7.0]]
51  [[`OpenBSD4_8`] [4.8.0]]
52  [[`OpenBSD4_9`] [4.9.0]]
53  [[`OpenBSD5_0`] [5.0.0]]
54  [[`OpenBSD5_1`] [5.1.0]]
55  [[`OpenBSD5_2`] [5.2.0]]
56  [[`OpenBSD5_3`] [5.3.0]]
57  [[`OpenBSD5_4`] [5.4.0]]
58  [[`OpenBSD5_5`] [5.5.0]]
59  [[`OpenBSD5_6`] [5.6.0]]
60  [[`OpenBSD5_7`] [5.7.0]]
61  [[`OpenBSD5_8`] [5.8.0]]
62  [[`OpenBSD5_9`] [5.9.0]]
63  [[`OpenBSD6_0`] [6.0.0]]
64  [[`OpenBSD6_1`] [6.1.0]]
65  [[`OpenBSD6_2`] [6.2.0]]
66  [[`OpenBSD6_3`] [6.3.0]]
67  [[`OpenBSD6_4`] [6.4.0]]
68  [[`OpenBSD6_5`] [6.5.0]]
69  [[`OpenBSD6_6`] [6.6.0]]
70  [[`OpenBSD6_7`] [6.7.0]]
71  [[`OpenBSD6_8`] [6.8.0]]
72  [[`OpenBSD6_9`] [6.9.0]]
73  ]
74  */
75 
76 #define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
77 
78 #if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
79  defined(__OpenBSD__) \
80  )
81 # ifndef MSGPACK_OS_BSD_AVAILABLE
82 # define MSGPACK_OS_BSD MSGPACK_VERSION_NUMBER_AVAILABLE
83 # define MSGPACK_OS_BSD_AVAILABLE
84 # endif
85 # undef MSGPACK_OS_BSD_OPEN
86 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_0)
87 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,0,0)
88 # endif
89 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_1)
90 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,1,0)
91 # endif
92 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_2)
93 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,2,0)
94 # endif
95 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_3)
96 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,3,0)
97 # endif
98 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_4)
99 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,4,0)
100 # endif
101 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_5)
102 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,5,0)
103 # endif
104 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_6)
105 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,6,0)
106 # endif
107 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_7)
108 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,7,0)
109 # endif
110 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_8)
111 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,8,0)
112 # endif
113 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD2_9)
114 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(2,9,0)
115 # endif
116 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_0)
117 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,0,0)
118 # endif
119 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_1)
120 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,1,0)
121 # endif
122 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_2)
123 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,2,0)
124 # endif
125 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_3)
126 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,3,0)
127 # endif
128 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_4)
129 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,4,0)
130 # endif
131 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_5)
132 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,5,0)
133 # endif
134 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_6)
135 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,6,0)
136 # endif
137 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_7)
138 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,7,0)
139 # endif
140 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_8)
141 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,8,0)
142 # endif
143 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD3_9)
144 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(3,9,0)
145 # endif
146 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_0)
147 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,0,0)
148 # endif
149 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_1)
150 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,1,0)
151 # endif
152 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_2)
153 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,2,0)
154 # endif
155 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_3)
156 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,3,0)
157 # endif
158 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_4)
159 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,4,0)
160 # endif
161 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_5)
162 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,5,0)
163 # endif
164 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_6)
165 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,6,0)
166 # endif
167 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_7)
168 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,7,0)
169 # endif
170 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_8)
171 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,8,0)
172 # endif
173 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD4_9)
174 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(4,9,0)
175 # endif
176 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_0)
177 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,0,0)
178 # endif
179 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_1)
180 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,1,0)
181 # endif
182 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_2)
183 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,2,0)
184 # endif
185 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_3)
186 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,3,0)
187 # endif
188 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_4)
189 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,4,0)
190 # endif
191 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_5)
192 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,5,0)
193 # endif
194 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_6)
195 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,6,0)
196 # endif
197 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_7)
198 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,7,0)
199 # endif
200 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_8)
201 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,8,0)
202 # endif
203 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD5_9)
204 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(5,9,0)
205 # endif
206 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_0)
207 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,0,0)
208 # endif
209 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_1)
210 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,1,0)
211 # endif
212 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_2)
213 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,2,0)
214 # endif
215 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_3)
216 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,3,0)
217 # endif
218 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_4)
219 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,4,0)
220 # endif
221 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_5)
222 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,5,0)
223 # endif
224 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_6)
225 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,6,0)
226 # endif
227 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_7)
228 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,7,0)
229 # endif
230 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_8)
231 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,8,0)
232 # endif
233 # if !defined(MSGPACK_OS_BSD_OPEN) && defined(OpenBSD6_9)
234 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER(6,9,0)
235 # endif
236 # if !defined(MSGPACK_OS_BSD_OPEN)
237 # define MSGPACK_OS_BSD_OPEN MSGPACK_VERSION_NUMBER_AVAILABLE
238 # endif
239 #endif
240 
241 #if MSGPACK_OS_BSD_OPEN
242 # define MSGPACK_OS_BSD_OPEN_AVAILABLE
244 #endif
245 
246 #define MSGPACK_OS_BSD_OPEN_NAME "OpenBSD"
247 
248 #endif
249 
bsd.h
test.h
MSGPACK_OS_BSD_OPEN_NAME
#define MSGPACK_OS_BSD_OPEN_NAME
Definition: open.h:246
MSGPACK_OS_BSD_OPEN
#define MSGPACK_OS_BSD_OPEN
Definition: open.h:76
os_detected.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13