summaryrefslogtreecommitdiff
path: root/lib/make/cctk_Config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/cctk_Config.h.in')
-rw-r--r--lib/make/cctk_Config.h.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in
index 6ec556f8..ca943cd3 100644
--- a/lib/make/cctk_Config.h.in
+++ b/lib/make/cctk_Config.h.in
@@ -220,6 +220,14 @@ typedef enum {false, true} bool;
# define CCTK_ATTRIBUTE_PURE
#endif
+/* Whether __attribute__((noinline)) exists. */
+#undef HAVE_CCTK_C_ATTRIBUTE_NOINLINE
+#ifdef HAVE_CCTK_C_ATTRIBUTE_NOINLINE
+# define CCTK_ATTRIBUTE_NOINLINE __attribute__((__noinline__))
+#else
+# define CCTK_ATTRIBUTE_NOINLINE
+#endif
+
/* Whether __attribute__((unused)) exists. */
#undef HAVE_CCTK_C_ATTRIBUTE_UNUSED
#ifdef HAVE_CCTK_C_ATTRIBUTE_UNUSED
@@ -292,6 +300,20 @@ typedef enum {false, true} bool;
# define CCTK_MEMBER_ATTRIBUTE_PURE
#endif
+/* Whether __attribute__((noinline)) exists. */
+#undef HAVE_CCTK_CXX_ATTRIBUTE_NOINLINE
+#ifdef HAVE_CCTK_CXX_ATTRIBUTE_NOINLINE
+# define CCTK_ATTRIBUTE_NOINLINE __attribute__((__noinline__))
+#else
+# define CCTK_ATTRIBUTE_NOINLINE
+#endif
+#undef HAVE_CCTK_CXX_MEMBER_ATTRIBUTE_NOINLINE
+#ifdef HAVE_CCTK_CXX_MEMBER_ATTRIBUTE_NOINLINE
+# define CCTK_MEMBER_ATTRIBUTE_NOINLINE __attribute__((__noinline__))
+#else
+# define CCTK_MEMBER_ATTRIBUTE_NOINLINE
+#endif
+
/* Whether __attribute__((unused)) exists. */
#undef HAVE_CCTK_CXX_ATTRIBUTE_UNUSED
#ifdef HAVE_CCTK_CXX_ATTRIBUTE_UNUSED