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