render_html.c: Fix build with MSVC.
diff --git a/md2html/render_html.c b/md2html/render_html.c
index 19483c5..00024e0 100644
--- a/md2html/render_html.c
+++ b/md2html/render_html.c
@@ -30,11 +30,20 @@
#include "entity.h"
+#ifdef _MSC_VER
+ /* MSVC does not understand "inline" when building as pure C (not C++).
+ * However it understands "__inline" */
+ #ifndef __cplusplus
+ #define inline __inline
+ #endif
+#endif
+
#ifdef _WIN32
#define snprintf _snprintf
#endif
+
typedef struct MD_RENDER_HTML_tag MD_RENDER_HTML;
struct MD_RENDER_HTML_tag {
void (*process_output)(const MD_CHAR*, MD_SIZE, void*);