From 1cb08da2e20267e0b4b100c0984084707690a9d8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Sep 2002 19:46:57 +0000 Subject: [PATCH] define ZEXPORT as empty if the system zlib.h doesn't define it (fixes bug 583681) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/unzip.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/common/unzip.h b/src/common/unzip.h index b7fb818849..acb137bc66 100644 --- a/src/common/unzip.h +++ b/src/common/unzip.h @@ -78,6 +78,13 @@ extern "C" { # define OF(args) args #endif +/* + And on some systems ZEXPORT is not defined neither -- work around this too + */ +#ifndef ZEXPORT +# define ZEXPORT +#endif + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) /* like the STRICT of WIN32, we define a pointer that cannot be converted from (void*) without cast */