X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bb0b01c290489c73816dfaccf16568757c1a731..e4d18e7f60f1278d132b02e2b589c487f41b3770:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 8e444b4b5f..8ccb8710db 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -29,8 +29,9 @@ // When using configure, the path must be "zlib.h" I don't know // what other ports (wxMac, wxMotif without configure) need here. - -#if defined(__WXMSW__) && !defined(USING_CONFIGURE) +// If we are building with configure (defines __WX_SETUP_H__), +// we trust the zlib path is given as a -I option. +#if defined(__WXMSW__) && !defined(__WX_SETUP_H__) #include "..\zlib\zlib.h" #else #include "zlib.h"