X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/913df6f2e0ab502732b271624c95af807d42007c..8fb3a512a85572ebf4b4f46eaf536727dfe4e01e:/src/common/unzip.c diff --git a/src/common/unzip.c b/src/common/unzip.c index 5e4a178bfa..ea45682d96 100644 --- a/src/common/unzip.c +++ b/src/common/unzip.c @@ -4,6 +4,14 @@ Read unzip.h for more info */ +#if 0 +for what compiler ? +#if !defined(__VISAGECPP__) +# pragma warning(disable:4001) /* non standard extension used: single line comment */ +#endif +#endif + + #include "wx/setup.h" #if wxUSE_ZLIB && wxUSE_ZIPSTREAM @@ -12,7 +20,13 @@ #include #include #include "zlib.h" + +/* Not the right solution (paths in makefiles) but... */ +#ifdef __BORLANDC__ +#include "../common/unzip.h" +#else #include "unzip.h" +#endif #ifdef STDC # include @@ -129,7 +143,7 @@ typedef struct } unz_s; #if defined (__VISAGECPP__) -// VA always requires prototypes +/* VA always requires prototypes */ int unzlocal_CheckCurrentFileCoherencyHeader (unz_s*, uInt*, uLong*, uInt*); #endif @@ -1301,7 +1315,7 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) #else -// the file shouldn't be empty, som compilers don't like it +/* the file shouldn't be empty, som compilers don't like it */ static const int dummyVariableInUnzip = 17; -#endif // wxUSE_ZLIB && wxUSE_ZIPSTREAM +#endif /* wxUSE_ZLIB && wxUSE_ZIPSTREAM */