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:
authorsamehkhamis <sameh.khamis@gmail.com>2015-07-24 03:35:22 +0300
committersamehkhamis <sameh.khamis@gmail.com>2015-07-24 03:35:22 +0300
commitb0f4e81aa887e8288fae5de1e5fd8c4fecb06e2a (patch)
tree5da6ddc4c7ddb46f2c9b8ebe15b63389c9c31a21
parent812223802c9c9f359b46478b7bbb1d5b154a88ac (diff)
Work under windows
-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