From: Mike Pall Date: Mon, 17 Apr 2017 10:29:35 +0000 (+0200) Subject: Add workaround for MSVC 2015 stdio changes. X-Git-Tag: v2.0.5~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02b4b1e55633c36f370058e7601c77ba561e2c8a;p=thirdparty%2FLuaJIT.git Add workaround for MSVC 2015 stdio changes. Contributed by Peter Cawley. --- diff --git a/src/msvcbuild.bat b/src/msvcbuild.bat index fc4b8943..bd0c4c5f 100644 --- a/src/msvcbuild.bat +++ b/src/msvcbuild.bat @@ -14,7 +14,7 @@ @if not defined INCLUDE goto :FAIL @setlocal -@set LJCOMPILE=cl /nologo /c /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE +@set LJCOMPILE=cl /nologo /c /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_STDIO_INLINE=__declspec(dllexport)__inline @set LJLINK=link /nologo @set LJMT=mt /nologo @set LJLIB=lib /nologo /nodefaultlib