X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=unzip%2Funzip.c;h=102916520d64d064d67889cdcfe06a0cc29e51e0;hb=0bc89554854606315659cb395c5b57346c13d0ff;hp=4f1786c07d7db104f48f548202cf71092715fc93;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/unzip/unzip.c b/unzip/unzip.c index 4f1786c..1029165 100644 --- a/unzip/unzip.c +++ b/unzip/unzip.c @@ -5,11 +5,7 @@ #include #include -#ifdef __SYMBIAN32__ -#include -#else -#include "zlib/zlib.h" -#endif +#include /* 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...)