#ifndef _CL_MAYBE_INLINE_H
#define _CL_MAYBE_INLINE_H
+#include "cl_config.h"
+
/*
* Selectively inline a function in *some* translation units.
*
* a function.
* 2. It's ignored if the optimization is switched off.
*/
-#ifdef __GNUC__
+#if defined(CL_HAVE_ATTRIBUTE_FLATTEN)
#define CL_FLATTEN __attribute__((flatten))
#else
#define CL_FLATTEN