From e74399a7225542c5651b4e975c812be6585d7ac5 Mon Sep 17 00:00:00 2001 From: intealls Date: Sat, 14 Jan 2017 23:34:33 +0100 Subject: fix msvc compile --- scripts/src/3rdparty.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/src/3rdparty.lua') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 081f8692f66..13904e80377 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -968,6 +968,7 @@ project "portaudio" buildoptions { "/wd4204", -- warning C4204: nonstandard extension used : non-constant aggregate initializer "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used + "/wd4057", -- warning C4057: 'function': 'xxx' differs in indirection to slightly different base types from 'xxx' } configuration { } @@ -999,6 +1000,10 @@ project "portaudio" } includedirs { MAME_DIR .. "3rdparty/portaudio/src/os/win", + } + + configuration { "mingw*" } + includedirs { MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/mingw-include", } -- cgit v1.2.3-70-g09d2