mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +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); \
|
ADD_CYCLES(cycles); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SEC() \
|
#define SEC_6502() \
|
||||||
{ \
|
{ \
|
||||||
SET_FLAG(C_FLAG); \
|
SET_FLAG(C_FLAG); \
|
||||||
ADD_CYCLES(2); \
|
ADD_CYCLES(2); \
|
||||||
|
@ -1798,7 +1798,7 @@ nes6502_execute (int remaining_cycles)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x38: /* SEC */
|
case 0x38: /* SEC */
|
||||||
SEC ();
|
SEC_6502 ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x39: /* AND $nnnn,Y */
|
case 0x39: /* AND $nnnn,Y */
|
||||||
|
|
Loading…
Reference in a new issue