aboutsummaryrefslogtreecommitdiff
path: root/zlib.h
diff options
context:
space:
mode:
authorVollstrecker <werner@vollstreckernet.de>2025-02-18 08:47:58 +0100
committerMark Adler <madler@alumni.caltech.edu>2025-02-18 15:00:15 -0800
commit5a82f71ed1dfc0bec044d9702463dbdf84ea3b71 (patch)
tree973c98322bf8da6ce656bdd45500f3397615492e /zlib.h
parent7108497fda9d4536a1afade7f42266e06dca4488 (diff)
downloadzlib-develop.tar.gz
zlib-develop.tar.bz2
zlib-develop.zip
Use generated zconf.h in cmake build.HEADdevelop
This restores the inclusion of the local zconf.h (double quoted) in normal usage.
Diffstat (limited to 'zlib.h')
-rw-r--r--zlib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/zlib.h b/zlib.h
index 8cafa32..c75090b 100644
--- a/zlib.h
+++ b/zlib.h
@@ -31,7 +31,11 @@
31#ifndef ZLIB_H 31#ifndef ZLIB_H
32#define ZLIB_H 32#define ZLIB_H
33 33
34#include <zconf.h> 34#ifdef ZLIB_BUILD
35# include <zconf.h>
36#else
37# include "zconf.h"
38#endif
35 39
36#ifdef __cplusplus 40#ifdef __cplusplus
37extern "C" { 41extern "C" {