MessagePack for C
include
msgpack
predef
architecture
x86.h
Go to the documentation of this file.
1
/*
2
Copyright Rene Rivera 2008-2015
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
#include <
msgpack/predef/architecture/x86/32.h
>
9
#include <
msgpack/predef/architecture/x86/64.h
>
10
11
#ifndef MSGPACK_PREDEF_ARCHITECTURE_X86_H
12
#define MSGPACK_PREDEF_ARCHITECTURE_X86_H
13
14
/*`
15
[heading `MSGPACK_ARCH_X86`]
16
17
[@http://en.wikipedia.org/wiki/X86 Intel x86] architecture. This is
18
a category to indicate that either `MSGPACK_ARCH_X86_32` or
19
`MSGPACK_ARCH_X86_64` is detected.
20
*/
21
22
#define MSGPACK_ARCH_X86 MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
23
24
#if MSGPACK_ARCH_X86_32 || MSGPACK_ARCH_X86_64
25
# undef MSGPACK_ARCH_X86
26
# define MSGPACK_ARCH_X86 MSGPACK_VERSION_NUMBER_AVAILABLE
27
#endif
28
29
#if MSGPACK_ARCH_X86
30
# define MSGPACK_ARCH_X86_AVAILABLE
31
#endif
32
33
#define MSGPACK_ARCH_X86_NAME "Intel x86"
34
35
#endif
36
37
#include <
msgpack/predef/detail/test.h
>
38
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_ARCH_X86
,
MSGPACK_ARCH_X86_NAME
)
test.h
MSGPACK_ARCH_X86_NAME
#define MSGPACK_ARCH_X86_NAME
Definition:
x86.h:33
64.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
32.h
MSGPACK_ARCH_X86
#define MSGPACK_ARCH_X86
Definition:
x86.h:22
Generated by
1.8.13