summaryrefslogtreecommitdiff
path: root/src/latex.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/latex.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/latex.c')
-rw-r--r--src/latex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.c b/src/latex.c
index 879f813..71559ba 100644
--- a/src/latex.c
+++ b/src/latex.c
@@ -18,7 +18,7 @@
#define CR() renderer->cr(renderer)
#define BLANKLINE() renderer->blankline(renderer)
-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) {
if (escape == LITERAL) {
cmark_render_code_point(renderer, c);