summaryrefslogtreecommitdiff
path: root/ext/zip
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-13 23:37:41 +0000
committerGreg Beaver <cellog@php.net>2008-01-13 23:37:41 +0000
commit42ef796add92780459492c1b109139ad2d9ff1e3 (patch)
treed0a46d3ae988c3147b1a3cda46434f152845f89c /ext/zip
parentc4fb570ef3180652d03b953d4ac727a225120ccf (diff)
downloadphp-git-42ef796add92780459492c1b109139ad2d9ff1e3.tar.gz
MFH: add missing define for statically-built zip ext
Diffstat (limited to 'ext/zip')
-rw-r--r--ext/zip/lib/zip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/lib/zip.h b/ext/zip/lib/zip.h
index 1d35f12a85..a0ff660442 100644
--- a/ext/zip/lib/zip.h
+++ b/ext/zip/lib/zip.h
@@ -46,6 +46,8 @@
# define PHPZIPAPI __declspec(dllexport)
# elif defined(COMPILE_DL_ZIP)
# define PHPZIPAPI __declspec(dllimport)
+# else
+# define PHPZIPAPI
# endif
#else
#define PHPZIPAPI