]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Add workaround for MSVC 2015 stdio changes.
authorMike Pall <mike>
Mon, 17 Apr 2017 10:29:35 +0000 (12:29 +0200)
committerMike Pall <mike>
Mon, 17 Apr 2017 10:29:35 +0000 (12:29 +0200)
Contributed by Peter Cawley.

src/msvcbuild.bat

index fc4b8943f908b596a4a17b5269d763f8cb9ea44b..bd0c4c5f582461e82263f923848fc6cfb444375d 100644 (file)
@@ -14,7 +14,7 @@
 @if not defined INCLUDE goto :FAIL\r
 \r
 @setlocal\r
-@set LJCOMPILE=cl /nologo /c /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE\r
+@set LJCOMPILE=cl /nologo /c /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_STDIO_INLINE=__declspec(dllexport)__inline\r
 @set LJLINK=link /nologo\r
 @set LJMT=mt /nologo\r
 @set LJLIB=lib /nologo /nodefaultlib\r