]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/unzip.c
use of div_t.quot and div_t.rem were changed to / and %
[wxWidgets.git] / src / common / unzip.c
index ce2260231ceec58a4c67c8837aeb907b6a136e50..71f4ed2b97b9b19062ac377b6132a1d1f8d44fd4 100644 (file)
@@ -1296,4 +1296,9 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf)
        return (int)uReadThis;
 }
 
-#endif
+#else
+
+// the file shouldn't be empty, som compilers don't like it
+static const int dummyVariableInUnzip = 17;
+
+#endif // wxUSE_ZLIB && wxUSE_ZIPSTREAM