mirror of
https://github.com/holub/mame
synced 2025-10-09 01:39:48 +03:00
fix msvc compile
This commit is contained in:
parent
d406d4dd2f
commit
e74399a722
@ -968,6 +968,7 @@ project "portaudio"
|
|||||||
buildoptions {
|
buildoptions {
|
||||||
"/wd4204", -- warning C4204: nonstandard extension used : non-constant aggregate initializer
|
"/wd4204", -- warning C4204: nonstandard extension used : non-constant aggregate initializer
|
||||||
"/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
|
"/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 { }
|
configuration { }
|
||||||
@ -999,6 +1000,10 @@ project "portaudio"
|
|||||||
}
|
}
|
||||||
includedirs {
|
includedirs {
|
||||||
MAME_DIR .. "3rdparty/portaudio/src/os/win",
|
MAME_DIR .. "3rdparty/portaudio/src/os/win",
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration { "mingw*" }
|
||||||
|
includedirs {
|
||||||
MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/mingw-include",
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/mingw-include",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user