use __restrict__ under GCC to support both C++ and C

ck_pring
alfredo 8 years ago
parent f449e90b3f
commit bc594bf809

@ -55,7 +55,7 @@
#endif #endif
#define CK_CC_FORCE_INLINE CK_CC_UNUSED __attribute__((always_inline)) inline #define CK_CC_FORCE_INLINE CK_CC_UNUSED __attribute__((always_inline)) inline
#define CK_CC_RESTRICT restrict #define CK_CC_RESTRICT __restrict__
/* /*
* Packed attribute. * Packed attribute.

Loading…
Cancel
Save