Files
boost_predef/include/boost/predef/os/windows.h
T

43 lines
1.0 KiB
C
Raw Normal View History

/*
Copyright Redshift Software, Inc. 2008-2012
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
2008-04-04 18:47:29 +00:00
#ifndef BOOST_PREDEF_OS_WINDOWS_H
#define BOOST_PREDEF_OS_WINDOWS_H
2008-04-04 18:47:29 +00:00
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
2008-04-04 18:47:29 +00:00
/*`
[heading `BOOST_OS_WINDOWS`]
[@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
[table
[[__predef_symbol__] [__predef_version__]]
[[`____`] [__predef_detection__]]
[[`____`] [V.R.P]]
]
*/
2008-04-04 18:47:29 +00:00
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,0)
#if defined(_WIN32) || defined(_WIN64) || \
defined(__WIN32__) || defined(__TOS_WIN__) || \
defined(__WINDOWS__)
# undef BOOST_OS_WINDOWS
# define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,1)
2008-04-04 18:47:29 +00:00
#endif
#define BOOST_OS_WINDOWS_NAME "Microsoft Windows"
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,BOOST_OS_WINDOWS_NAME)
2008-04-04 18:47:29 +00:00
#endif