// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include <wx/stream.h>
-#include <wx/zstream.h>
-#include <wx/utils.h>
-#include <wx/intl.h>
+
+#include "wx/zstream.h"
+
+#if wxUSE_ZLIB
+
+#include "wx/utils.h"
+#include "wx/intl.h"
#include "wx/log.h"
#include "../zlib/zlib.h" // don't change this, Robert
err = deflate(m_deflate, Z_FINISH);
if (err != Z_STREAM_END)
{
- wxLogDebug( "wxZlibOutputStream: an error occured while closing the stream.\n" );
+ wxLogDebug( _T("wxZlibOutputStream: an error occured while closing the stream.\n") );
return;
}
}
return size;
}
+
+#endif
+
+ // wxUSE_ZLIB
+