summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirLua/Modules/luaffi/src/ffi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/Modules/luaffi/src/ffi.h b/plugins/MirLua/Modules/luaffi/src/ffi.h
index cd34afec09..7107f612ec 100644
--- a/plugins/MirLua/Modules/luaffi/src/ffi.h
+++ b/plugins/MirLua/Modules/luaffi/src/ffi.h
@@ -31,6 +31,8 @@
#define _CRT_SECURE_NO_WARNINGS
#endif
+#define LUA_FFI_BUILD_AS_DLL
+
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>