summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6800/m6800.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2008-08-06 03:25:58 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2008-08-06 03:25:58 +0000
commit661aae28dca647f532e0909346b2b272a8dd7f24 (patch)
treef32f9606e5a7c33c9311d89f39767bee3a437f42 /src/emu/cpu/m6800/m6800.c
parent43021ec0e246b34067f9d731124af435982fe65f (diff)
Changes to avoid collisions with system globals on OpenSolaris. (qmc2)
Diffstat (limited to 'src/emu/cpu/m6800/m6800.c')
-rw-r--r--src/emu/cpu/m6800/m6800.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/cpu/m6800/m6800.c b/src/emu/cpu/m6800/m6800.c
index 2eaf4ce1579..f70f0781a93 100644
--- a/src/emu/cpu/m6800/m6800.c
+++ b/src/emu/cpu/m6800/m6800.c
@@ -367,6 +367,9 @@ static const UINT8 flags8d[256]= /* decrement */
#define INDEXED {EA=X+(UINT8)M_RDOP_ARG(PCD);PC++;}
/* macros to set status flags */
+#if defined(SEC)
+#undef SEC
+#endif
#define SEC CC|=0x01
#define CLC CC&=0xfe
#define SEZ CC|=0x04