summaryrefslogtreecommitdiffstats
path: root/util/include/platforms/unix
diff options
context:
space:
mode:
Diffstat (limited to 'util/include/platforms/unix')
-rw-r--r--util/include/platforms/unix/axutil_unix.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h
index 3088d0d..7a5c084 100644
--- a/util/include/platforms/unix/axutil_unix.h
+++ b/util/include/platforms/unix/axutil_unix.h
@@ -262,7 +262,11 @@ extern "C"
/** minizip functions */
#define axis2_fill_win32_filefunc(ffunc)
-#define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc));
+#define AXIS2_UNZOPEN2(zipfilename, ffunc, uf) \
+ { \
+ uf = unzOpen2(zipfilename,NULL); \
+ memset(&ffunc, 0, sizeof(ffunc)); \
+ }
/**
* handling variable number of arguments (for log.c)