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:
authorSoumith Chintala <soumith@gmail.com>2015-07-24 10:17:33 +0300
committerSoumith Chintala <soumith@gmail.com>2015-07-24 10:17:33 +0300
commit03760cc8da4d8b7a1c0a42af23f00511a3815be0 (patch)
tree5da6ddc4c7ddb46f2c9b8ebe15b63389c9c31a21
parent812223802c9c9f359b46478b7bbb1d5b154a88ac (diff)
parentb0f4e81aa887e8288fae5de1e5fd8c4fecb06e2a (diff)
Merge pull request #3 from samehkhamis/master
Making things 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