macro.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /********************************************************************************/
  2. /* RX FAMILY C/C++ Compiler */
  3. /* Copyright (C) 2007 Renesas Technology Corp. and Renesas Solutions Corp. */
  4. /* All Rights Reserved. */
  5. /********************************************************************************/
  6. #ifndef _MACRO
  7. #define _MACRO
  8. #ifdef __RX
  9. #ifndef _NO_MT
  10. #define _NO_MT
  11. #endif /* !_NO_MT */
  12. #ifdef __STDC_VERSION__
  13. #if 199901L <= __STDC_VERSION__
  14. #define _C99
  15. #endif /* 199901L <= __STDC_VERSION__ */
  16. #endif /* __STDC_VERSION__ */
  17. #ifndef _HAS_TR1
  18. #define _HAS_TR1 0
  19. #endif /* !_HAS_TR1 */
  20. #ifndef __STDC_WANT_LIB_EXT1__
  21. #define __STDC_WANT_LIB_EXT1__ 0
  22. #endif /* !__STDC_WANT_LIB_EXT1 */
  23. #ifndef _ADDED_C_LIB
  24. #define _ADDED_C_LIB 0
  25. #endif /* !_ADDED_C_LIB */
  26. #ifndef __STDC_WANT_SAFER_LIB__
  27. #define __STDC_WANT_SAFER_LIB__ 0
  28. #endif /* !__STDC_WANT_SAFER_LIB__ */
  29. #ifndef _ALT_NS
  30. #define _ALT_NS 0
  31. #endif /* !_ALT_NS */
  32. #ifdef __cplusplus
  33. #ifndef _C99
  34. #define _C99
  35. #endif /* !_C99*/
  36. #endif /* __cplusplus */
  37. #ifdef __embedded_cplusplus
  38. #ifndef _NO_NS
  39. #define _NO_NS
  40. #endif /* !_NO_NS */
  41. #ifndef _ECPP
  42. #define _ECPP
  43. #endif /* !_ECPP */
  44. #endif /* __embedded_cplusplus */
  45. #ifdef _REENTRANT
  46. #ifndef _R_REENT
  47. #define _R_REENT
  48. #endif /* !_R_REENT */
  49. #endif /* _REENTRANT */
  50. #endif /* __RX */
  51. #endif /* _MACRO */