summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2016-03-12 11:13:14 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2016-03-12 11:13:14 +0100
commit0e216b4044f1cbbf30df4e378d51d91a0267e680 (patch)
treef92e1216c64d92cdc3c517756de70971e3dbd752 /src/commonmark.c
parent8bff268ba84c67a1ac2761679457532439da482b (diff)
Switch from "inline" to "CMARK_INLINE"
Newer MSVC versions support enough of C99 to be able to compile cmark in plain C mode. Only the "inline" keyword is still unsupported. We have to use "__inline" instead.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 0667519..95f5a80 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -20,7 +20,7 @@
// Functions to convert cmark_nodes to commonmark strings.
-static inline void outc(cmark_renderer *renderer, cmark_escaping escape,
+static CMARK_INLINE void outc(cmark_renderer *renderer, cmark_escaping escape,
int32_t c, unsigned char nextc) {
bool needs_escaping = false;
bool follows_digit =