summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-01-10 23:51:24 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-01-10 23:51:24 -0500
commit81becef637af27047c2566a0754f9649a2a8c92a (patch)
tree98a7ffb1b9a6d9c55499ee1c6e31b8a83f891a96
parentdf7dc8558cf662b8961eebd80afef5672fef5e5e (diff)
Fix clang build (ODR is so annoying) (nw)
-rw-r--r--src/mame/machine/315-6154.h6
1 files 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<int Aperture>
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;