From def9b999d9b08e48b0d222366edefeaabe04d5d3 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 5 Jun 2009 23:52:05 +0100 Subject: nsf: Fix compiler warning on Solaris. A SEC() macro already exists on Solaris, causing warnings about redefining it. --- gst/nsf/nes6502.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/nsf/nes6502.c b/gst/nsf/nes6502.c index e2ed01f7..450350fc 100644 --- a/gst/nsf/nes6502.c +++ b/gst/nsf/nes6502.c @@ -944,7 +944,7 @@ ADD_CYCLES(cycles); \ } -#define SEC() \ +#define SEC_6502() \ { \ SET_FLAG(C_FLAG); \ ADD_CYCLES(2); \ @@ -1798,7 +1798,7 @@ nes6502_execute (int remaining_cycles) break; case 0x38: /* SEC */ - SEC (); + SEC_6502 (); break; case 0x39: /* AND $nnnn,Y */ -- cgit v1.2.1