X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=unzip%2Funzip.c;h=ddf59aa6bd7e33b85d4ed3332238a33a8efd2be1;hb=b3158e9837629be3d36176728848f10fba341fc9;hp=4f1786c07d7db104f48f548202cf71092715fc93;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/unzip/unzip.c b/unzip/unzip.c index 4f1786c0..ddf59aa6 100644 --- a/unzip/unzip.c +++ b/unzip/unzip.c @@ -5,11 +5,7 @@ #include #include -#ifdef __SYMBIAN32__ -#include -#else #include "zlib/zlib.h" -#endif /* public globals */ //int gUnzipQuiet = 0; /* flag controls error messages */ @@ -25,13 +21,9 @@ // notaz -#ifdef __DEBUG_PRINT -void dprintf(char *format, ...); -#define logerror dprintf -void errormsg(const char* extmsg, const char* usermsg, const char* zipname) -{ - dprintf("Error in zipfile %s: %s", zipname, extmsg); -} +#if 1 //def __DEBUG_PRINT +#define logerror printf +#define errormsg(str1,def,fname) printf("%s: " #def ": " str1 "\n", fname); #else #define logerror(x...) #define errormsg(x...)