From 81becef637af27047c2566a0754f9649a2a8c92a Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 10 Jan 2020 23:51:24 -0500 Subject: [PATCH] Fix clang build (ODR is so annoying) (nw) --- src/mame/machine/315-6154.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mame/machine/315-6154.h b/src/mame/machine/315-6154.h index c35547f150e..a143dd34219 100644 --- a/src/mame/machine/315-6154.h +++ b/src/mame/machine/315-6154.h @@ -20,8 +20,10 @@ public: template void aperture_w(address_space &space, offs_t offset, u32 data, u32 mem_mask = 0xffffffff); - static const int AS_PCI_MEMORY = 0; - static const int AS_PCI_CONFIGURATION = 1; + enum { + AS_PCI_MEMORY = 0, + AS_PCI_CONFIGURATION = 1 + }; protected: virtual void device_start() override;