mirror of
https://github.com/zeldaret/oot.git
synced 2025-04-10 08:36:24 +00:00
Test for __sgi instead of __GNUC__ for PRINTF macro (#1612)
This commit is contained in:
parent
678af62ec3
commit
90a6268460
1 changed files with 3 additions and 3 deletions
|
@ -103,14 +103,14 @@
|
||||||
#ifdef OOT_DEBUG
|
#ifdef OOT_DEBUG
|
||||||
#define PRINTF osSyncPrintf
|
#define PRINTF osSyncPrintf
|
||||||
#else
|
#else
|
||||||
#ifdef __GNUC__
|
#ifdef __sgi /* IDO compiler */
|
||||||
#define PRINTF(format, ...) (void)0
|
|
||||||
#else
|
|
||||||
// IDO doesn't support variadic macros, but it merely throws a warning for the
|
// IDO doesn't support variadic macros, but it merely throws a warning for the
|
||||||
// number of arguments not matching the definition (warning 609) instead of
|
// number of arguments not matching the definition (warning 609) instead of
|
||||||
// throwing an error. We suppress this warning and rely on GCC to catch macro
|
// throwing an error. We suppress this warning and rely on GCC to catch macro
|
||||||
// argument errors instead.
|
// argument errors instead.
|
||||||
#define PRINTF(args) (void)0
|
#define PRINTF(args) (void)0
|
||||||
|
#else
|
||||||
|
#define PRINTF(format, ...) (void)0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue