X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d78b3d64143f165857922e1e695ba4164d61869f..4d19d979165dfab92cccd656b9f75c2d516aa21b:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index c917e493a4..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/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