diff options
-rw-r--r-- | zconf.h | 2 | ||||
-rw-r--r-- | zconf.h.cmakein | 2 | ||||
-rw-r--r-- | zconf.h.in | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -218,7 +218,7 @@ | |||
218 | # endif | 218 | # endif |
219 | #endif | 219 | #endif |
220 | 220 | ||
221 | #if ( defined(ZLIB_CONST) || defined(__cplusplus) ) && !defined(z_const) | 221 | #if defined(ZLIB_CONST) && !defined(z_const) |
222 | # define z_const const | 222 | # define z_const const |
223 | #else | 223 | #else |
224 | # define z_const | 224 | # define z_const |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 10e445f..043019c 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -220,7 +220,7 @@ | |||
220 | # endif | 220 | # endif |
221 | #endif | 221 | #endif |
222 | 222 | ||
223 | #if ( defined(ZLIB_CONST) || defined(__cplusplus) ) && !defined(z_const) | 223 | #if defined(ZLIB_CONST) && !defined(z_const) |
224 | # define z_const const | 224 | # define z_const const |
225 | #else | 225 | #else |
226 | # define z_const | 226 | # define z_const |
@@ -218,7 +218,7 @@ | |||
218 | # endif | 218 | # endif |
219 | #endif | 219 | #endif |
220 | 220 | ||
221 | #if ( defined(ZLIB_CONST) || defined(__cplusplus) ) && !defined(z_const) | 221 | #if defined(ZLIB_CONST) && !defined(z_const) |
222 | # define z_const const | 222 | # define z_const const |
223 | #else | 223 | #else |
224 | # define z_const | 224 | # define z_const |