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 ]
54 */
55
56#define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
57
58#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
59 defined(__OpenBSD__) \
60 )
61# ifndef BOOST_OS_BSD_AVAILABLE
62# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
63# define BOOST_OS_BSD_AVAILABLE
64# endif
65# undef BOOST_OS_BSD_OPEN
66# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_0)
67# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,0,0)
68# endif
69# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_1)
70# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,1,0)
71# endif
72# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_2)
73# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,2,0)
74# endif
75# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_3)
76# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,3,0)
77# endif
78# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_4)
79# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,4,0)
80# endif
81# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_5)
82# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,5,0)
83# endif
84# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_6)
85# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,6,0)
86# endif
87# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_7)
88# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,7,0)
89# endif
90# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_8)
91# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,8,0)
92# endif
93# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_9)
94# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,9,0)
95# endif
96# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_0)
97# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,0,0)
98# endif
99# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_1)
100# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,1,0)
101# endif
102# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_2)
103# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,2,0)
104# endif
105# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_3)
106# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,3,0)
107# endif
108# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_4)
109# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,4,0)
110# endif
111# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_5)
112# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,5,0)
113# endif
114# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_6)
115# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,6,0)
116# endif
117# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_7)
118# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,7,0)
119# endif
120# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_8)
121# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,8,0)
122# endif
123# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_9)
124# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,9,0)
125# endif
126# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_0)
127# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,0,0)
128# endif
129# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_1)
130# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,1,0)
131# endif
132# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_2)
133# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,2,0)
134# endif
135# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_3)
136# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,3,0)
137# endif
138# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_4)
139# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,4,0)
140# endif
141# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_5)
142# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,5,0)
143# endif
144# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_6)
145# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,6,0)
146# endif
147# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_7)
148# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,7,0)
149# endif
150# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_8)
151# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,8,0)
152# endif
153# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_9)
154# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,9,0)
155# endif
156# if !defined(BOOST_OS_BSD_OPEN)
157# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_AVAILABLE
158# endif
159#endif
160
161#if BOOST_OS_BSD_OPEN
162# define BOOST_OS_BSD_OPEN_AVAILABLE
163# include <boost/predef/detail/os_detected.h>
164#endif
165
166#define BOOST_OS_BSD_OPEN_NAME "OpenBSD"
167
168#endif
169
170#include <boost/predef/detail/test.h>
171BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_OPEN,BOOST_OS_BSD_OPEN_NAME)
172