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

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/init.c')
-rw-r--r--lib/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.c b/lib/init.c
index 399aeaa..021f38c 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -28,7 +28,7 @@ static void luaL_setfuncs(lua_State *L, const luaL_Reg *l, int nup)
#include "queue.c"
#if defined(_WIN32)
-__declspec(dllexport) int luaopen_libthreads(lua_State *L)
+__declspec(dllexport) int _cdecl luaopen_libthreads(lua_State *L)
#else
int luaopen_libthreads(lua_State *L)
#endif