@@ -34,10 +34,16 @@ #endif #ifdef OF_APPLE_RUNTIME # import #endif + +#if defined(__GNUC__) +# define restrict __restrict__ +#elif __STDC_VERSION__ < 199901L +# define restrict +#endif #ifndef __has_feature # define __has_feature(x) 0 #endif