picox  0.1
xrenesas.h
[詳解]
1 
14 /*
15  * License: MIT license
16  * Copyright (c) <2016> <MaskedW [maskedw00@gmail.com]>
17  *
18  * Permission is hereby granted, free of charge, to any person
19  * obtaining a copy of this software and associated documentation
20  * files (the "Software"), to deal in the Software without
21  * restriction, including without limitation the rights to use, copy,
22  * modify, merge, publish, distribute, sublicense, and/or sell copies
23  * of the Software, and to permit persons to whom the Software is
24  * furnished to do so, subject to the following conditions:
25  *
26  * The above copyright notice and this permission notice shall be
27  * included in all copies or substantial portions of the Software.
28  *
29  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
30  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
31  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
32  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
33  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
34  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
35  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36  * SOFTWARE.
37  */
38 
39 #ifndef picox_core_detail_compiler_xrenesas_h_
40 #define picox_core_detail_compiler_xrenesas_h_
41 
42 
43 #ifndef __RENESAS__
44  #error This header file required 'Renesas C/C++ Compiler'
45 #endif
46 
47 
48 #ifdef __cplusplus
49  #define X_FUNC "(null)"
50 #endif
51 
52 
53 #define X_PACKED_PRE_BEGIN _Pragma("pack")
54 #define X_PACKED_POST_BEGIN
55 #define X_PACKED_PRE_END
56 #define X_PACKED_POST_END _Pragma("unpack")
57 
58 
59 #endif /* picox_core_detail_compiler_xrenesas_h_ */