macro.h 1.4 KB
Newer Older
淡漠想敏's avatar
淡漠想敏 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
/********************************************************************************/
/* RX FAMILY C/C++ Compiler                                                     */
/* Copyright (C) 2007 Renesas Technology Corp. and Renesas Solutions Corp.      */
/* All Rights Reserved.                                                         */
/********************************************************************************/

#ifndef _MACRO
#define _MACRO

#ifdef __RX

#ifndef _NO_MT
#define _NO_MT
#endif /* !_NO_MT */

#ifdef __STDC_VERSION__
#if 199901L <= __STDC_VERSION__
#define _C99
#endif /* 199901L <= __STDC_VERSION__ */
#endif /* __STDC_VERSION__ */

#ifndef _HAS_TR1
#define _HAS_TR1 0
#endif /* !_HAS_TR1 */

#ifndef __STDC_WANT_LIB_EXT1__
#define __STDC_WANT_LIB_EXT1__ 0
#endif /* !__STDC_WANT_LIB_EXT1 */

#ifndef _ADDED_C_LIB
#define _ADDED_C_LIB 0
#endif /* !_ADDED_C_LIB */

#ifndef __STDC_WANT_SAFER_LIB__
#define __STDC_WANT_SAFER_LIB__ 0
#endif /* !__STDC_WANT_SAFER_LIB__ */

#ifndef _ALT_NS
#define _ALT_NS 0
#endif /* !_ALT_NS */

#ifdef __cplusplus

#ifndef _C99
#define _C99
#endif /* !_C99*/ 

#endif /* __cplusplus */

#ifdef __embedded_cplusplus

#ifndef _NO_NS
#define _NO_NS
#endif /* !_NO_NS */

#ifndef _ECPP
#define _ECPP
#endif /* !_ECPP */

#endif /* __embedded_cplusplus */

#ifdef _REENTRANT

#ifndef _R_REENT
#define _R_REENT
#endif /* !_R_REENT */

#endif /* _REENTRANT */

#endif /* __RX */

#endif /* _MACRO */