diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-06-05 23:52:05 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-05 23:52:49 +0100 |
commit | def9b999d9b08e48b0d222366edefeaabe04d5d3 (patch) | |
tree | 9047c6fa5991e46fc6198419e15dfb7c56a243f5 /gst | |
parent | 0aa62012c6ef195d489a8b0deff335c709865e89 (diff) | |
download | gst-plugins-bad-def9b999d9b08e48b0d222366edefeaabe04d5d3.tar.gz gst-plugins-bad-def9b999d9b08e48b0d222366edefeaabe04d5d3.tar.bz2 gst-plugins-bad-def9b999d9b08e48b0d222366edefeaabe04d5d3.zip |
nsf: Fix compiler warning on Solaris.
A SEC() macro already exists on Solaris, causing warnings about
redefining it.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/nsf/nes6502.c | 4 |
1 files 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 */ |