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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h.in b/src/config.h.in
index a392111..2792313 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -17,9 +17,9 @@
#endif
#ifndef CMARK_INLINE
- #ifdef _MSC_VER
+ #if defined(_MSC_VER) && !defined(__cplusplus)
#define CMARK_INLINE __inline
#else
- #define CMARK_INLINE static inline
+ #define CMARK_INLINE inline
#endif
#endif