aboutsummaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zconf.h.cmakein2
1 files changed, 1 insertions, 1 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index ae8799e..543ad46 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(z_const) 223#if ( defined(ZLIB_CONST) || defined(__cplusplus) ) && !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