summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commonmark.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 23faa7c..31fdcec 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -11,6 +11,10 @@
#include "utf8.h"
#include "scanners.h"
+#if defined(_MSC_VER) && (_MSC_VER <=1800)
+#define snprintf _snprintf
+#endif
+
// Functions to convert cmark_nodes to commonmark strings.
struct render_state {