]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Garux: disable vfsPackFile because of bad miniz
authorThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 08:41:27 +0000 (09:41 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 08:53:49 +0000 (09:53 +0100)
tools/quake3/common/vfs.c

index 7e1fd6d8b5be235b6e9ee2ca4d4695fc358285fb..0ee642e8d68fba47f6ecbd2e44e42c367ec93ec1 100644 (file)
 #include "vfs.h"
 #include <minizip/unzip.h>
 #include <glib.h>
+#define BAD_MINIZ
+#ifndef BAD_MINIZ
 #include "miniz.h"
+#endif
 
 typedef struct
 {
@@ -493,6 +496,7 @@ int vfsLoadFile( const char *filename, void **bufferptr, int index ){
 
 
 qboolean vfsPackFile( const char *filename, const char *packname ){
+#ifndef BAD_MINIZ
        int i;
        char tmp[NAME_MAX], fixed[NAME_MAX];
        GSList *lst;
@@ -574,4 +578,7 @@ qboolean vfsPackFile( const char *filename, const char *packname ){
        }
 
        return qfalse;
+#else
+               Error( "Disabled because of miniz issue" );
+#endif
 }