Merge branch 'master' of https://github.com/CrashOveride95/ultrasm64
This commit is contained in:
commit
e03f938f12
5 files changed
+5
-12
No files matched your search
@@ -10,15 +10,12 @@
|
||||
// "#define printf(...) /* nothing */" wasn't an option.)
|
||||
// This macro is separate from the gd_printf function; one probably
|
||||
// forwarded to the other, but it is hard to tell in which direction.
|
||||
#ifdef __GNUC__
|
||||
|
||||
#define printf(...) \
|
||||
_Pragma ("GCC diagnostic push") \
|
||||
_Pragma ("GCC diagnostic ignored \"-Wunused-value\"") \
|
||||
(__VA_ARGS__); \
|
||||
_Pragma ("GCC diagnostic pop")
|
||||
#else
|
||||
#define printf
|
||||
#endif
|
||||
|
||||
// structs
|
||||
struct GdControl { // gGdCtrl
|
||||
|
||||
+2
-2
@@ -49,7 +49,7 @@ uLong ZEXPORT zlibCompileFlags()
|
||||
case 8: flags += 2 << 6; break;
|
||||
default: flags += 3 << 6;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
#ifdef PCDEBUG
|
||||
flags += 1 << 8;
|
||||
#endif
|
||||
#if defined(ASMV) || defined(ASMINF)
|
||||
@@ -103,7 +103,7 @@ uLong ZEXPORT zlibCompileFlags()
|
||||
return flags;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef PCDEBUG
|
||||
|
||||
# ifndef verbose
|
||||
# define verbose 0
|
||||
|
||||
+1
-1
@@ -227,7 +227,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
||||
#endif
|
||||
|
||||
/* Diagnostic functions */
|
||||
#ifdef DEBUG
|
||||
#ifdef PCDEBUG
|
||||
# include <stdio.h>
|
||||
extern int z_verbose;
|
||||
extern void z_error OF((char *m));
|
||||
|
||||
Reference in new issue
Block a user