net.h
Go to the documentation of this file.
00001 /*
00002 Copyright Rene Rivera 2012-2015
00003 Distributed under the Boost Software License, Version 1.0.
00004 (See accompanying file LICENSE_1_0.txt or copy at
00005 http://www.boost.org/LICENSE_1_0.txt)
00006 */
00007 
00008 #ifndef BOOST_PREDEF_OS_BSD_NET_H
00009 #define BOOST_PREDEF_OS_BSD_NET_H
00010 
00011 #include <boost/predef/os/bsd.h>
00012 
00013 /*`
00014 [heading `BOOST_OS_BSD_NET`]
00015 
00016 [@http://en.wikipedia.org/wiki/Netbsd NetBSD] operating system.
00017 
00018 [table
00019     [[__predef_symbol__] [__predef_version__]]
00020 
00021     [[`__NETBSD__`] [__predef_detection__]]
00022     [[`__NetBSD__`] [__predef_detection__]]
00023 
00024     [[`__NETBSD_version`] [V.R.P]]
00025     [[`NetBSD0_8`] [0.8.0]]
00026     [[`NetBSD0_9`] [0.9.0]]
00027     [[`NetBSD1_0`] [1.0.0]]
00028     [[`__NetBSD_Version`] [V.R.P]]
00029     ]
00030  */
00031 
00032 #define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE
00033 
00034 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
00035     defined(__NETBSD__) || defined(__NetBSD__) \
00036     )
00037 #   ifndef BOOST_OS_BSD_AVAILABLE
00038 #       define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
00039 #       define BOOST_OS_BSD_AVAILABLE
00040 #   endif
00041 #   undef BOOST_OS_BSD_NET
00042 #   if defined(__NETBSD__)
00043 #       if defined(__NETBSD_version)
00044 #           if __NETBSD_version < 500000
00045 #               define BOOST_OS_BSD_NET \
00046                     BOOST_PREDEF_MAKE_10_VRP000(__NETBSD_version)
00047 #           else
00048 #               define BOOST_OS_BSD_NET \
00049                     BOOST_PREDEF_MAKE_10_VRR000(__NETBSD_version)
00050 #           endif
00051 #       else
00052 #           define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_AVAILABLE
00053 #       endif
00054 #   elif defined(__NetBSD__)
00055 #       if !defined(BOOST_OS_BSD_NET) && defined(NetBSD0_8)
00056 #           define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,8,0)
00057 #       endif
00058 #       if !defined(BOOST_OS_BSD_NET) && defined(NetBSD0_9)
00059 #           define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,9,0)
00060 #       endif
00061 #       if !defined(BOOST_OS_BSD_NET) && defined(NetBSD1_0)
00062 #           define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(1,0,0)
00063 #       endif
00064 #       if !defined(BOOST_OS_BSD_NET) && defined(__NetBSD_Version)
00065 #           define BOOST_OS_BSD_NET \
00066                 BOOST_PREDEF_MAKE_10_VVRR00PP00(__NetBSD_Version)
00067 #       endif
00068 #       if !defined(BOOST_OS_BSD_NET)
00069 #           define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_AVAILABLE
00070 #       endif
00071 #   endif
00072 #endif
00073 
00074 #if BOOST_OS_BSD_NET
00075 #   define BOOST_OS_BSD_NET_AVAILABLE
00076 #   include <boost/predef/detail/os_detected.h>
00077 #endif
00078 
00079 #define BOOST_OS_BSD_NET_NAME "DragonFly BSD"
00080 
00081 #endif
00082 
00083 #include <boost/predef/detail/test.h>
00084 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_NET,BOOST_OS_BSD_NET_NAME)


cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Wed Aug 9 2017 02:51:41