diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/zlib/zlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/zlib/zlib.h b/third_party/zlib/zlib.h index aa7f0825f4c..a303d77c00d 100644 --- a/third_party/zlib/zlib.h +++ b/third_party/zlib/zlib.h @@ -213,7 +213,7 @@ typedef gz_header FAR *gz_headerp; #define zlib_version zlibVersion() /* for compatibility with versions < 1.0.2 */ -#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1) +#ifdef HAVE___ATTRIBUTE__ /** Use gcc attribute to check printf fns. a1 is the 1-based index of * the parameter containing the format, and a2 the index of the first * argument. Note that some gcc 2.x versions don't handle this |