1 /* 2 Copyright Rene Rivera 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) 6 */ 7 8 #ifndef MSGPACK_PREDEF_OS_WINDOWS_H 9 #define MSGPACK_PREDEF_OS_WINDOWS_H 10 11 #include <rpc/msgpack/predef/version_number.h> 12 #include <rpc/msgpack/predef/make.h> 13 14 /*` 15 [heading `MSGPACK_OS_WINDOWS`] 16 17 [@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system. 18 19 [table 20 [[__predef_symbol__] [__predef_version__]] 21 22 [[`_WIN32`] [__predef_detection__]] 23 [[`_WIN64`] [__predef_detection__]] 24 [[`__WIN32__`] [__predef_detection__]] 25 [[`__TOS_WIN__`] [__predef_detection__]] 26 [[`__WINDOWS__`] [__predef_detection__]] 27 ] 28 */ 29 30 #define MSGPACK_OS_WINDOWS MSGPACK_VERSION_NUMBER_NOT_AVAILABLE 31 32 #if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \ 33 defined(_WIN32) || defined(_WIN64) || \ 34 defined(__WIN32__) || defined(__TOS_WIN__) || \ 35 defined(__WINDOWS__) \ 36 ) 37 # undef MSGPACK_OS_WINDOWS 38 # define MSGPACK_OS_WINDOWS MSGPACK_VERSION_NUMBER_AVAILABLE 39 #endif 40 41 #if MSGPACK_OS_WINDOWS 42 # define MSGPACK_OS_WINDOWS_AVAILABLE 43 # include <rpc/msgpack/predef/detail/os_detected.h> 44 #endif 45 46 #define MSGPACK_OS_WINDOWS_NAME "Microsoft Windows" 47 48 #include <rpc/msgpack/predef/detail/test.h> 49 MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_OS_WINDOWS,MSGPACK_OS_WINDOWS_NAME) 50 51 #endif 52