2 Copyright Redshift Software, Inc. 2008-2013
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)
8 #ifndef BOOST_PREDEF_OS_WINDOWS_H
9 #define BOOST_PREDEF_OS_WINDOWS_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 [heading `BOOST_OS_WINDOWS`]
17 [@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
20 [[__predef_symbol__] [__predef_version__]]
22 [[`_WIN32`] [__predef_detection__]]
23 [[`_WIN64`] [__predef_detection__]]
24 [[`__WIN32__`] [__predef_detection__]]
25 [[`__TOS_WIN__`] [__predef_detection__]]
26 [[`__WINDOWS__`] [__predef_detection__]]
30 #define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 #if !BOOST_PREDEF_DETAIL_OS_DETECTED && ( \
33 defined(_WIN32) || defined(_WIN64) || \
34 defined(__WIN32__) || defined(__TOS_WIN__) || \
35 defined(__WINDOWS__) \
37 # undef BOOST_OS_WINDOWS
38 # define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER_AVAILABLE
42 # define BOOST_OS_WINDOWS_AVAILABLE
43 # include <boost/predef/detail/os_detected.h>
46 #define BOOST_OS_WINDOWS_NAME "Microsoft Windows"
48 #include <boost/predef/detail/test.h>
49 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,BOOST_OS_WINDOWS_NAME)