X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/678d9f2a42faa84cf934bbb75a5b4414a094012e..5701b057fb4b5bf672da2fb19230d179f7f3e251:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index bf1a80fd61..8ccb8710db 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -29,9 +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 we are building with ./configure, we trust the zlib path is -// given as a -I option. -#if defined(__WXMSW__) && !defined(HAVE_CONFIG_H) +// 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"