diff options
author | samehkhamis <sameh.khamis@gmail.com> | 2015-07-24 03:35:22 +0300 |
---|---|---|
committer | samehkhamis <sameh.khamis@gmail.com> | 2015-07-24 03:35:22 +0300 |
commit | b0f4e81aa887e8288fae5de1e5fd8c4fecb06e2a (patch) | |
tree | 5da6ddc4c7ddb46f2c9b8ebe15b63389c9c31a21 | |
parent | 812223802c9c9f359b46478b7bbb1d5b154a88ac (diff) |
Work under windows
-rw-r--r-- | src/markdown.c | 5 |
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 |