diff options
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index bd39c4e..5294bc9 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -7,3 +7,11 @@ #endif #cmakedefine HAVE___BUILTIN_EXPECT + +#cmakedefine HAVE___ATTRIBUTE__ + +#ifdef HAVE___ATTRIBUTE__ + #define CMARK_ATTRIBUTE(list) __attribute__ (list) +#else + #define CMARK_ATTRIBUTE(list) +#endif |