mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
nsf: Fix compiler warning on Solaris.
A SEC() macro already exists on Solaris, causing warnings about redefining it.
This commit is contained in:
parent
0aa62012c6
commit
def9b999d9
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue