From 2a342ec7c9843debc6e8bf6955a94c09a6bf495f Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 11 Aug 2020 16:57:47 +1000 Subject: cpu/nec: use anonymous namespaces to avoid ODR violations with enums --- scripts/src/cpu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index e2ed4badf4a..64814fd67d7 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -1883,10 +1883,10 @@ if (CPUS["NEC"]~=null) then MAME_DIR .. "src/devices/cpu/nec/nec80inst.hxx", MAME_DIR .. "src/devices/cpu/nec/necmacro.h", MAME_DIR .. "src/devices/cpu/nec/necmodrm.h", - MAME_DIR .. "src/devices/cpu/nec/necpriv.h", + MAME_DIR .. "src/devices/cpu/nec/necpriv.ipp", MAME_DIR .. "src/devices/cpu/nec/v25instr.h", MAME_DIR .. "src/devices/cpu/nec/v25instr.hxx", - MAME_DIR .. "src/devices/cpu/nec/v25priv.h", + MAME_DIR .. "src/devices/cpu/nec/v25priv.ipp", MAME_DIR .. "src/devices/cpu/nec/v25.cpp", MAME_DIR .. "src/devices/cpu/nec/v25.h", MAME_DIR .. "src/devices/cpu/nec/v25sfr.cpp", -- cgit v1.2.3-70-g09d2