Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlio / repo / tests / nlio-test.h
1 /**
2  *    Copyright 2012-2016 Nest Labs Inc. All Rights Reserved.
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16
17 /**
18  *    @file
19  *      This file defines test constants for the Nest Labs memory-mapped
20  *      I/O test suite.
21  *
22  */
23
24 #ifndef NLIO_TEST_H
25 #define NLIO_TEST_H
26
27 #define MAGIC_8         0xA1U
28 #define MAGIC_16        0xB1B2U
29 #define MAGIC_32        0xC1C2C4C8U
30 #define MAGIC_64        0xD1D2D4D8E1E2E1E8U
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36 typedef struct {
37     long double m;
38 } _uint128_t;
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* NLIO_TEST_H */