]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/unzip.c
1. added wxGetNumberFromUser (to textdlgg.cpp and dialogs sample)
[wxWidgets.git] / src / common / unzip.c
index ff71a474da12c0358092616e47f2bcb7facbe3d3..71f4ed2b97b9b19062ac377b6132a1d1f8d44fd4 100644 (file)
@@ -4,6 +4,9 @@
    Read unzip.h for more info
 */
 
+#include "wx/setup.h"
+
+#if wxUSE_ZLIB && wxUSE_ZIPSTREAM
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -1292,3 +1295,10 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf)
                *(szComment+s->gi.size_comment)='\0';
        return (int)uReadThis;
 }
+
+#else
+
+// the file shouldn't be empty, som compilers don't like it
+static const int dummyVariableInUnzip = 17;
+
+#endif // wxUSE_ZLIB && wxUSE_ZIPSTREAM