@ -36,6 +36,14 @@
#define CK_CC_RESTRICT
#endif
#ifndef CK_CC_INLINE
#define CK_CC_INLINE inline
#ifndef CK_CC_FORCE_INLINE
#define CK_CC_FORCE_INLINE inline
#define CK_CC_DECONST_PTR(X) ((void *)(uintptr_t)(X))
/*
@ -48,15 +48,13 @@
#endif /* __x86_64__ || __x86__ */
* If optimizations are turned on, then force inlining.
*/
#ifdef __OPTIMIZE__
#define CK_CC_INLINE CK_CC_UNUSED inline
#else
#define CK_CC_INLINE CK_CC_UNUSED
#define CK_CC_FORCE_INLINE CK_CC_UNUSED __attribute__((always_inline)) inline
#define CK_CC_RESTRICT restrict