[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:
cadmic
2025-01-13 05:32:25 -08:00
committed by GitHub
parent dbfa95fd01
commit bdc6b50153
7 changed files with 15 additions and 21 deletions
-2
View File
@@ -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
-2
View File
@@ -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
-2
View File
@@ -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
+1
View File
@@ -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" \