Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/sundown-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/markdown.c')
-rw-r--r--src/markdown.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/markdown.c b/src/markdown.c
index 7965b44..0a65d08 100644
--- a/src/markdown.c
+++ b/src/markdown.c
@@ -2554,3 +2554,8 @@ sd_version(int *ver_major, int *ver_minor, int *ver_revision)
}
/* vim: set filetype=c: */
+
+#if defined(_MSC_VER)
+#include "lua.h"
+int __declspec(dllexport) __cdecl luaopen_libsundown(lua_State* L) { return 0; }
+#endif