40 #ifndef picox_core_detail_xcompiler_h_ 41 #define picox_core_detail_xcompiler_h_ 60 #ifdef __STDC_VERSION__ 61 #if (__STDC_VERSION__ >= 199901L) 62 #define X_COMPILER_C99 (1) 64 #define X_COMPILER_C99 (0) 67 #define X_COMPILER_C99 (0) 74 #if defined __GNUC__ && defined __GNUC_MINOR__ 75 #define X_GNUC_PREREQ(maj, min) \ 76 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) 78 #define X_GNUC_PREREQ(maj, min) 0 85 #include <picox/core/detail/compiler/xgcc.h> 87 #elif defined(__RENESAS__) 100 #define X_INLINE static inline 110 #ifndef X_ALWAYS_INLINE 111 #define X_ALWAYS_INLINE static inline 124 #ifndef X_HAS_VARIADIC_MACROS 125 #if X_COMPILER_C99 > 0 126 #define X_HAS_VARIADIC_MACROS (1) 137 #define X_HAS_TYPEOF (0) 148 #define X_LIKELY(x) x 158 #define X_UNLIKELY(x) x 181 #ifndef X_HAS_STATEMENT_EXPRESSIONS 182 #define X_HAS_STATEMENT_EXPRESSIONS (0) 189 #ifndef X_MEMORY_BARRIER 190 #define X_MEMORY_BARRIER 198 #define X_UNREACHABE for (;;) 220 #define X_FUNC __func__ 252 #ifndef X_PACKED_PRE_BEGIN 253 #define X_PACKED_PRE_BEGIN 257 #ifndef X_PACKED_POST_BEGIN 258 #define X_PACKED_POST_BEGIN 262 #ifndef X_PACKED_PRE_END 263 #define X_PACKED_PRE_END 267 #ifndef X_PACKED_POST_END 268 #define X_PACKED_POST_END 275 #define NULL ((void*)0) 289 #endif // picox_core_detail_xcompiler_h_