00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BOOST_PREDEF_OS_BSD_OPEN_H
00009 #define BOOST_PREDEF_OS_BSD_OPEN_H
00010
00011 #include <boost/predef/os/bsd.h>
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056 #define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
00057
00058 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00059 defined(__OpenBSD__) \
00060 )
00061 # ifndef BOOST_OS_BSD_AVAILABLE
00062 # define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
00063 # define BOOST_OS_BSD_AVAILABLE
00064 # endif
00065 # undef BOOST_OS_BSD_OPEN
00066 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_0)
00067 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,0,0)
00068 # endif
00069 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_1)
00070 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,1,0)
00071 # endif
00072 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_2)
00073 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,2,0)
00074 # endif
00075 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_3)
00076 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,3,0)
00077 # endif
00078 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_4)
00079 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,4,0)
00080 # endif
00081 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_5)
00082 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,5,0)
00083 # endif
00084 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_6)
00085 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,6,0)
00086 # endif
00087 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_7)
00088 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,7,0)
00089 # endif
00090 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_8)
00091 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,8,0)
00092 # endif
00093 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_9)
00094 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,9,0)
00095 # endif
00096 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_0)
00097 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,0,0)
00098 # endif
00099 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_1)
00100 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,1,0)
00101 # endif
00102 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_2)
00103 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,2,0)
00104 # endif
00105 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_3)
00106 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,3,0)
00107 # endif
00108 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_4)
00109 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,4,0)
00110 # endif
00111 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_5)
00112 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,5,0)
00113 # endif
00114 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_6)
00115 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,6,0)
00116 # endif
00117 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_7)
00118 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,7,0)
00119 # endif
00120 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_8)
00121 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,8,0)
00122 # endif
00123 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD3_9)
00124 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,9,0)
00125 # endif
00126 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_0)
00127 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,0,0)
00128 # endif
00129 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_1)
00130 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,1,0)
00131 # endif
00132 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_2)
00133 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,2,0)
00134 # endif
00135 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_3)
00136 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,3,0)
00137 # endif
00138 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_4)
00139 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,4,0)
00140 # endif
00141 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_5)
00142 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,5,0)
00143 # endif
00144 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_6)
00145 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,6,0)
00146 # endif
00147 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_7)
00148 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,7,0)
00149 # endif
00150 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_8)
00151 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,8,0)
00152 # endif
00153 # if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_9)
00154 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,9,0)
00155 # endif
00156 # if !defined(BOOST_OS_BSD_OPEN)
00157 # define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_AVAILABLE
00158 # endif
00159 #endif
00160
00161 #if BOOST_OS_BSD_OPEN
00162 # define BOOST_OS_BSD_OPEN_AVAILABLE
00163 # include <boost/predef/detail/os_detected.h>
00164 #endif
00165
00166 #define BOOST_OS_BSD_OPEN_NAME "OpenBSD"
00167
00168 #endif
00169
00170 #include <boost/predef/detail/test.h>
00171 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_OPEN,BOOST_OS_BSD_OPEN_NAME)