summaryrefslogtreecommitdiffstats
path: root/util/include/platforms/windows/axutil_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/include/platforms/windows/axutil_windows.h')
-rw-r--r--util/include/platforms/windows/axutil_windows.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/include/platforms/windows/axutil_windows.h b/util/include/platforms/windows/axutil_windows.h
index 44a3ac9..53d332c 100644
--- a/util/include/platforms/windows/axutil_windows.h
+++ b/util/include/platforms/windows/axutil_windows.h
@@ -255,7 +255,10 @@ extern "C"
* minizip functions
*/
#define axis2_fill_win32_filefunc(ffunc) fill_win32_filefunc(ffunc)
-#define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL)
+#define AXIS2_UNZOPEN2(zipfilename, ffunc, uf) \
+ { \
+ uf = unzOpen2(zipfilename,NULL); \
+ }
/**
* handling variable number of arguments (for log.c)