diff options
author | 2020-03-06 10:46:55 +1100 | |
---|---|---|
committer | 2020-03-06 10:46:55 +1100 | |
commit | 09a798539191f8c602f12c3ce08f78d26e3ab4ad (patch) | |
tree | 31f5d309aa85c32acc89afdcd0a83c2db7df5460 | |
parent | d2fd2ee6e3505e6753cc0dfd67cd29b3c9417feb (diff) |
*fixed build following removal of winpcap.
-rw-r--r-- | scripts/src/osd/winui.lua | 1 | ||||
-rw-r--r-- | scripts/src/osd/winui_cfg.lua | 13 |
2 files changed, 11 insertions, 3 deletions
diff --git a/scripts/src/osd/winui.lua b/scripts/src/osd/winui.lua index b9aa0b86871..492674947d5 100644 --- a/scripts/src/osd/winui.lua +++ b/scripts/src/osd/winui.lua @@ -260,7 +260,6 @@ project ("ocore_" .. _OPTIONS["osd"]) includedirs { MAME_DIR .. "src/osd/windows", - MAME_DIR .. "src/lib/winpcap", } files { diff --git a/scripts/src/osd/winui_cfg.lua b/scripts/src/osd/winui_cfg.lua index 20c6034a2e1..5823a20b171 100644 --- a/scripts/src/osd/winui_cfg.lua +++ b/scripts/src/osd/winui_cfg.lua @@ -17,10 +17,19 @@ configuration { "vs*" } configuration { } -if not _OPTIONS["DONT_USE_NETWORK"] then +if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]==1 then defines { "USE_NETWORK", - "OSD_NET_USE_PCAP", } + if _OPTIONS["USE_TAPTUN"]=="1" then + defines { + "OSD_NET_USE_TAPTUN", + } + end + if _OPTIONS["USE_PCAP"]=="1" then + defines { + "OSD_NET_USE_PCAP", + } + end end |