MessagePack for C
Loading...
Searching...
No Matches
windows.h
Go to the documentation of this file.
1/*
2Copyright Rene Rivera 2008-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef MSGPACK_PREDEF_OS_WINDOWS_H
9#define MSGPACK_PREDEF_OS_WINDOWS_H
10
12#include <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
44#endif
45
46#define MSGPACK_OS_WINDOWS_NAME "Microsoft Windows"
47
48#endif
49
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13
#define MSGPACK_OS_WINDOWS_NAME
Definition windows.h:46
#define MSGPACK_OS_WINDOWS
Definition windows.h:30