X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae05df5a988883e9c6683ccded766dfb7b84b1b..d4c241b9e6b05a6a2ca5b701d25792994a52c023:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 1424f3b22b..1ae27ad74c 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -20,17 +20,21 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/defs.h" -#endif - #if wxUSE_ZLIB && wxUSE_STREAMS #include "wx/zstream.h" #include "wx/utils.h" #include "wx/intl.h" #include "wx/log.h" -#include "zlib.h" + +// When using configure, the path must be "zlib.h" I don't know +// what other ports (wxMac, wxMotif without configure) need here. + +#ifdef __WXMSW__ + #include "..\zlib\zlib.h" +#else + #include "zlib.h" +#endif #define ZSTREAM_BUFFER_SIZE 1024