Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:06

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_OS_WINDOWS_H
0009 #define BOOST_PREDEF_OS_WINDOWS_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_OS_WINDOWS`
0016 
0017 http://en.wikipedia.org/wiki/Category:Microsoft_Windows[Microsoft Windows] operating system.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+_WIN32+` | {predef_detection}
0024 | `+_WIN64+` | {predef_detection}
0025 | `+__WIN32__+` | {predef_detection}
0026 | `+__TOS_WIN__+` | {predef_detection}
0027 | `+__WINDOWS__+` | {predef_detection}
0028 |===
0029 */ // end::reference[]
0030 
0031 #define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032 
0033 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0034     defined(_WIN32) || defined(_WIN64) || \
0035     defined(__WIN32__) || defined(__TOS_WIN__) || \
0036     defined(__WINDOWS__) \
0037     )
0038 #   undef BOOST_OS_WINDOWS
0039 #   define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER_AVAILABLE
0040 #endif
0041 
0042 #if BOOST_OS_WINDOWS
0043 #   define BOOST_OS_WINDOWS_AVAILABLE
0044 #   include <boost/predef/detail/os_detected.h>
0045 #endif
0046 
0047 #define BOOST_OS_WINDOWS_NAME "Microsoft Windows"
0048 
0049 #endif
0050 
0051 #include <boost/predef/detail/test.h>
0052 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,BOOST_OS_WINDOWS_NAME)