--- a/archivers/unzip.c Fri May 10 09:16:38 2002 +0000
+++ b/archivers/unzip.c Fri May 10 09:25:25 2002 +0000
@@ -4,6 +4,11 @@
Read unzip.h for more info
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if (defined PHYSFS_SUPPORTS_ZIP)
#include <stdio.h>
#include <stdlib.h>
@@ -14,10 +19,6 @@
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"
-#if (!defined PHYSFS_SUPPORTS_ZIP)
-#error PHYSFS_SUPPORTS_ZIP must be defined.
-#endif
-
#ifdef STDC
# include <stddef.h>
# include <string.h>
@@ -1317,3 +1318,7 @@
return (int)uReadThis;
}
+#endif /* defined PHYSFS_SUPPORTS_ZIP */
+
+/* end of unzip.c ... */
+