summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/cpu.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index f8c16807c87..a55cf443fdb 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -49,6 +49,14 @@ if (CPU_INCLUDE_DRC) then
MAME_DIR .. "src/devices/cpu/drcbex86.h",
}
end
+
+ if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
+ if string.find(_OPTIONS["gcc"], "clang") and (str_to_version(_OPTIONS["gcc_version"]) < 80000) then
+ defines {
+ "TARGET_OS_OSX=1",
+ }
+ end
+ end
end
--------------------------------------------------
@@ -2624,6 +2632,8 @@ if (CPUS["Z80"]~=null) then
MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.h",
MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.cpp",
MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.h",
+ MAME_DIR .. "src/devices/cpu/z80/kp63.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/kp63.h",
MAME_DIR .. "src/devices/cpu/z80/kp69.cpp",
MAME_DIR .. "src/devices/cpu/z80/kp69.h",
MAME_DIR .. "src/devices/cpu/z80/ky80.cpp",