summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/modules.lua
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-03-19 21:43:27 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-03-19 21:43:27 -0400
commit9328fa902887c15a58c95bfdf69cfa28e9a012c2 (patch)
tree7a7e9943c870c6a2abfcb721914d292ad3d23ff3 /scripts/src/osd/modules.lua
parent5410d5a40a8a0ceec9cdc726087cc6e5f07f5660 (diff)
Fix VS Build issue for WRL ComPtr
Diffstat (limited to 'scripts/src/osd/modules.lua')
-rw-r--r--scripts/src/osd/modules.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua
index 5cef56772a3..618a90a968e 100644
--- a/scripts/src/osd/modules.lua
+++ b/scripts/src/osd/modules.lua
@@ -91,6 +91,12 @@ function osdmodulesbuild()
MAME_DIR .. "3rdparty/winpcap/Include",
MAME_DIR .. "3rdparty/compat/mingw",
}
+
+ if _OPTIONS["MODERN_WIN_API"]~="1" then
+ includedirs {
+ MAME_DIR .. "3rdparty/compat/winsdk-override",
+ }
+ end
end
if _OPTIONS["NO_OPENGL"]=="1" then