mirror of
https://github.com/zeldaret/oot
synced 2026-06-04 18:59:14 -04:00
[iQue] Define EGCS macro instead of relying on __GNUC__ (#2423)
* [iQue] Define EGCS macro instead of relying on __GNUC__ * Revert longlong.h
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
#define AUDIO_PRINTF osSyncPrintf
|
||||
#elif IDO_PRINTF_WORKAROUND
|
||||
#define AUDIO_PRINTF(args) (void)0
|
||||
#elif defined(__GNUC__) && __GNUC__ < 3
|
||||
#define AUDIO_PRINTF(format, args...) (void)0
|
||||
#else
|
||||
#define AUDIO_PRINTF(format, ...) (void)0
|
||||
#endif
|
||||
|
||||
@@ -62,8 +62,6 @@ vs32 sSchedDebugPrintfEnabled = false;
|
||||
PRINTF
|
||||
#elif IDO_PRINTF_WORKAROUND
|
||||
#define SCHED_DEBUG_PRINTF(args) (void)0
|
||||
#elif defined(__GNUC__) && __GNUC__ < 3
|
||||
#define SCHED_DEBUG_PRINTF(format, args...) (void)0
|
||||
#else
|
||||
#define SCHED_DEBUG_PRINTF(format, ...) (void)0
|
||||
#endif
|
||||
|
||||
@@ -24,8 +24,6 @@ static s32 sCurCeilingBgId;
|
||||
PRINTF
|
||||
#elif IDO_PRINTF_WORKAROUND
|
||||
#define ACTOR_DEBUG_PRINTF(args) (void)0
|
||||
#elif defined(__GNUC__) && __GNUC__ < 3
|
||||
#define ACTOR_DEBUG_PRINTF(format, args...) (void)0
|
||||
#else
|
||||
#define ACTOR_DEBUG_PRINTF(format, ...) (void)0
|
||||
#endif
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
#define umul_ppmm(w1, w0, u, v) \
|
||||
__asm__("multu %2,%3" : "=l"((USItype)(w0)), "=h"((USItype)(w1)) : "d"((USItype)(u)), "d"((USItype)(v)))
|
||||
#else
|
||||
/* Non-matching version for modern GCC */
|
||||
#define umul_ppmm(w1, w0, u, v) \
|
||||
__asm__("multu %2,%3\n\t" \
|
||||
"mflo %0\n\t" \
|
||||
|
||||
Reference in New Issue
Block a user