1/*
2Copyright Rene Rivera 2012-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_OS_BSD_OPEN_H
9#define BOOST_PREDEF_OS_BSD_OPEN_H
10
11#include <boost/predef/os/bsd.h>
12
13/*`
14[heading `BOOST_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 BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
77
78#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
79 defined(__OpenBSD__) \
80 )
81# ifndef BOOST_OS_BSD_AVAILABLE
82# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
83# define BOOST_OS_BSD_AVAILABLE
84# endif
85# undef BOOST_OS_BSD_OPEN
86# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_0)
87# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,0,0)
88# endif
89# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_1)
90# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,1,0)
91# endif
92# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_2)
93# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,2,0)
94# endif
95# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_3)
96# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,3,0)
97# endif
98# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_4)
99# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,4,0)
100# endif
101# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_5)
102# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,5,0)
103# endif
104# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_6)
105# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,6,0)
106# endif
107# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_7)
108# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,7,0)
109# endif
110# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_8)
111# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,8,0)
112# endif
113# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_9)
114# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,9,0)
115# endif
116# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_0)
117# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,0,0)
118# endif
119# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_1)
120# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,1,0)
121# endif
122# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_2)
123# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,2,0)
124# endif
125# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_3)
126# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,3,0)
127# endif
128# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_4)
129# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,4,0)
130# endif
131# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_5)
132# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,5,0)
133# endif
134# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_6)
135# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,6,0)
136# endif
137# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_7)
138# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,7,0)
139# endif
140# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_8)
141# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,8,0)
142# endif
143# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_9)
144# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,9,0)
145# endif
146# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_0)
147# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,0,0)
148# endif
149# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_1)
150# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,1,0)
151# endif
152# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_2)
153# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,2,0)
154# endif
155# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_3)
156# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,3,0)
157# endif
158# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_4)
159# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,4,0)
160# endif
161# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_5)
162# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,5,0)
163# endif
164# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_6)
165# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,6,0)
166# endif
167# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_7)
168# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,7,0)
169# endif
170# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_8)
171# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,8,0)
172# endif
173# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_9)
174# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,9,0)
175# endif
176# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_0)
177# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,0,0)
178# endif
179# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_1)
180# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,1,0)
181# endif
182# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_2)
183# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,2,0)
184# endif
185# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_3)
186# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,3,0)
187# endif
188# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_4)
189# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,4,0)
190# endif
191# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_5)
192# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,5,0)
193# endif
194# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_6)
195# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,6,0)
196# endif
197# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_7)
198# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,7,0)
199# endif
200# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_8)
201# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,8,0)
202# endif
203# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_9)
204# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,9,0)
205# endif
206# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_0)
207# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,0,0)
208# endif
209# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_1)
210# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,1,0)
211# endif
212# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_2)
213# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,2,0)
214# endif
215# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_3)
216# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,3,0)
217# endif
218# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_4)
219# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,4,0)
220# endif
221# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_5)
222# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,5,0)
223# endif
224# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_6)
225# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,6,0)
226# endif
227# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_7)
228# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,7,0)
229# endif
230# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_8)
231# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,8,0)
232# endif
233# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_9)
234# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,9,0)
235# endif
236# if !defined(BOOST_OS_BSD_OPEN)
237# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_AVAILABLE
238# endif
239#endif
240
241#if BOOST_OS_BSD_OPEN
242# define BOOST_OS_BSD_OPEN_AVAILABLE
243# include <boost/predef/detail/os_detected.h>
244#endif
245
246#define BOOST_OS_BSD_OPEN_NAME "OpenBSD"
247
248#endif
249
250#include <boost/predef/detail/test.h>
251BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_OPEN,BOOST_OS_BSD_OPEN_NAME)
252