commit a930e46fc6ffff3c7655d1ee200bb4777cb15007 parent 6a1268a7e0c563007b9af1a17d9ef8e770bd4010 Author: Martin Mitas <mity@morous.org> Date: Thu, 24 Nov 2016 15:04:47 +0100 Fix build with MSVC. Diffstat:
| M | md2html/md2html.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/md2html/md2html.c b/md2html/md2html.c @@ -33,6 +33,10 @@ #include "cmdline.h" #include "entity.h" +#ifdef _WIN32 + #define snprintf _snprintf +#endif + /* Global options. */ static unsigned renderer_flags = 0;