mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix SDL Windows build
This commit is contained in:
parent
34d7850c1e
commit
fc87913612
@ -816,7 +816,7 @@ configuration { "mingw-clang" }
|
||||
}
|
||||
configuration { }
|
||||
|
||||
-- add the error warning flag
|
||||
-- add the error warning flag
|
||||
if _OPTIONS["NOWERROR"]==nil then
|
||||
buildoptions {
|
||||
"-Werror",
|
||||
|
@ -479,11 +479,15 @@ project ("ocore_" .. _OPTIONS["osd"])
|
||||
MAME_DIR .. "src/osd/modules/file/posixsocket.cpp",
|
||||
}
|
||||
elseif BASE_TARGETOS=="win32" then
|
||||
includedirs {
|
||||
MAME_DIR .. "src/osd/windows",
|
||||
}
|
||||
files {
|
||||
MAME_DIR .. "src/osd/modules/file/winfile.cpp",
|
||||
MAME_DIR .. "src/osd/modules/file/winfile.h",
|
||||
MAME_DIR .. "src/osd/modules/file/winptty.cpp",
|
||||
MAME_DIR .. "src/osd/modules/file/winsocket.cpp",
|
||||
MAME_DIR .. "src/osd/windows/winutil.cpp", -- FIXME put the necessary functions somewhere more appropriate
|
||||
}
|
||||
else
|
||||
files {
|
||||
|
Loading…
Reference in New Issue
Block a user