mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +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
|
||||
#define PRINTF osSyncPrintf
|
||||
#else
|
||||
#ifdef __GNUC__
|
||||
#define PRINTF(format, ...) (void)0
|
||||
#else
|
||||
#ifdef __sgi /* IDO compiler */
|
||||
// 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
|
||||
// throwing an error. We suppress this warning and rely on GCC to catch macro
|
||||
// argument errors instead.
|
||||
#define PRINTF(args) (void)0
|
||||
#else
|
||||
#define PRINTF(format, ...) (void)0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue