diff options
-rw-r--r-- | zconf.h | 6 | ||||
-rw-r--r-- | zconf.h.cmakein | 6 | ||||
-rw-r--r-- | zconf.h.in | 6 | ||||
-rw-r--r-- | zlib.h | 2 |
4 files changed, 10 insertions, 10 deletions
@@ -266,11 +266,11 @@ | |||
266 | # endif | 266 | # endif |
267 | #endif | 267 | #endif |
268 | 268 | ||
269 | #ifndef ON /* function prototypes for stdarg */ | 269 | #ifndef Z_ARG /* function prototypes for stdarg */ |
270 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) | 270 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) |
271 | # define ON(args) args | 271 | # define Z_ARG(args) args |
272 | # else | 272 | # else |
273 | # define ON(args) () | 273 | # define Z_ARG(args) () |
274 | # endif | 274 | # endif |
275 | #endif | 275 | #endif |
276 | 276 | ||
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 0b880ad..b2d78b3 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -268,11 +268,11 @@ | |||
268 | # endif | 268 | # endif |
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | #ifndef ON /* function prototypes for stdarg */ | 271 | #ifndef Z_ARG /* function prototypes for stdarg */ |
272 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) | 272 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) |
273 | # define ON(args) args | 273 | # define Z_ARG(args) args |
274 | # else | 274 | # else |
275 | # define ON(args) () | 275 | # define Z_ARG(args) () |
276 | # endif | 276 | # endif |
277 | #endif | 277 | #endif |
278 | 278 | ||
@@ -266,11 +266,11 @@ | |||
266 | # endif | 266 | # endif |
267 | #endif | 267 | #endif |
268 | 268 | ||
269 | #ifndef ON /* function prototypes for stdarg */ | 269 | #ifndef Z_ARG /* function prototypes for stdarg */ |
270 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) | 270 | # if defined(STDC) || defined(Z_HAVE_STDARG_H) |
271 | # define ON(args) args | 271 | # define Z_ARG(args) args |
272 | # else | 272 | # else |
273 | # define ON(args) () | 273 | # define Z_ARG(args) () |
274 | # endif | 274 | # endif |
275 | #endif | 275 | #endif |
276 | 276 | ||
@@ -1298,7 +1298,7 @@ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, | |||
1298 | error. | 1298 | error. |
1299 | */ | 1299 | */ |
1300 | 1300 | ||
1301 | ZEXTERN int ZEXPORTVA gzprintf ON((gzFile file, const char *format, ...)); | 1301 | ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); |
1302 | /* | 1302 | /* |
1303 | Converts, formats, and writes the arguments to the compressed file under | 1303 | Converts, formats, and writes the arguments to the compressed file under |
1304 | control of the format string, as in fprintf. gzprintf returns the number of | 1304 | control of the format string, as in fprintf. gzprintf returns the number of |