summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h.in')
-rw-r--r--src/config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
index 5294bc9..a392111 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -15,3 +15,11 @@
#else
#define CMARK_ATTRIBUTE(list)
#endif
+
+#ifndef CMARK_INLINE
+ #ifdef _MSC_VER
+ #define CMARK_INLINE __inline
+ #else
+ #define CMARK_INLINE static inline
+ #endif
+#endif