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