diff options
Diffstat (limited to '')
-rw-r--r-- | zconf.h | 10 | ||||
-rw-r--r-- | zconf.h.cmakein | 10 | ||||
-rw-r--r-- | zconf.h.in | 10 |
3 files changed, 18 insertions, 12 deletions
@@ -235,10 +235,12 @@ | |||
235 | # endif | 235 | # endif |
236 | #endif | 236 | #endif |
237 | 237 | ||
238 | #if defined(ZLIB_CONST) && !defined(z_const) | 238 | #ifndef z_const |
239 | # define z_const const | 239 | # ifdef ZLIB_CONST |
240 | #else | 240 | # define z_const const |
241 | # define z_const | 241 | # else |
242 | # define z_const | ||
243 | # endif | ||
242 | #endif | 244 | #endif |
243 | 245 | ||
244 | #ifdef Z_SOLO | 246 | #ifdef Z_SOLO |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 7a35e8f..f43a904 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -237,10 +237,12 @@ | |||
237 | # endif | 237 | # endif |
238 | #endif | 238 | #endif |
239 | 239 | ||
240 | #if defined(ZLIB_CONST) && !defined(z_const) | 240 | #ifndef z_const |
241 | # define z_const const | 241 | # ifdef ZLIB_CONST |
242 | #else | 242 | # define z_const const |
243 | # define z_const | 243 | # else |
244 | # define z_const | ||
245 | # endif | ||
244 | #endif | 246 | #endif |
245 | 247 | ||
246 | #ifdef Z_SOLO | 248 | #ifdef Z_SOLO |
@@ -235,10 +235,12 @@ | |||
235 | # endif | 235 | # endif |
236 | #endif | 236 | #endif |
237 | 237 | ||
238 | #if defined(ZLIB_CONST) && !defined(z_const) | 238 | #ifndef z_const |
239 | # define z_const const | 239 | # ifdef ZLIB_CONST |
240 | #else | 240 | # define z_const const |
241 | # define z_const | 241 | # else |
242 | # define z_const | ||
243 | # endif | ||
242 | #endif | 244 | #endif |
243 | 245 | ||
244 | #ifdef Z_SOLO | 246 | #ifdef Z_SOLO |