]> www.ginac.de Git - cln.git/blobdiff - src/base/cl_maybe_inline.h
Prefer GMP's multiplication routine (if GMP version >= 4.0).
[cln.git] / src / base / cl_maybe_inline.h
index 316cc5b0e126793bbf8469e8a18672b5ed9d5e56..d615cb347db8f83c5cdba65e736abbbd07606c5e 100644 (file)
@@ -3,6 +3,8 @@
 #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