cellog Mon Jan 14 03:15:50 2008 UTC
Modified files:
/php-src/ext/zip config.w32
/php-src/ext/zip/lib zip.h
Log:
MFPECL: fix windows build for all cases, and always export symbols (Steph Fox)
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/config.w32?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/zip/config.w32
diff -u php-src/ext/zip/config.w32:1.3 php-src/ext/zip/config.w32:1.4
--- php-src/ext/zip/config.w32:1.3 Sat Jan 12 03:42:41 2008
+++ php-src/ext/zip/config.w32 Mon Jan 14 03:15:50 2008
@@ -1,4 +1,4 @@
-// $Id: config.w32,v 1.3 2008/01/12 03:42:41 cellog Exp $
+// $Id: config.w32,v 1.4 2008/01/14 03:15:50 cellog Exp $
// vim:ft=javascript
ARG_ENABLE("zip", "ZIP support", "no");
@@ -31,9 +31,7 @@
AC_DEFINE('HAVE_ZLIB', 1);
AC_DEFINE('HAVE_ZIP', 1);
- if (PHP_ZIP_SHARED) {
- ADD_FLAG("CFLAGS_ZIP", "/D PHP_ZIP_EXPORTS ");
- }
+ ADD_FLAG("CFLAGS_ZIP", "/D PHP_ZIP_EXPORTS ");
} else {
WARNING("zip not enabled; libraries and headers not found");
}
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/lib/zip.h?r1=1.8&r2=1.9&diff_format=u
Index: php-src/ext/zip/lib/zip.h
diff -u php-src/ext/zip/lib/zip.h:1.8 php-src/ext/zip/lib/zip.h:1.9
--- php-src/ext/zip/lib/zip.h:1.8 Sun Jan 13 23:37:27 2008
+++ php-src/ext/zip/lib/zip.h Mon Jan 14 03:15:50 2008
@@ -44,8 +44,6 @@
#include "zip_win32.h"
# ifdef PHP_ZIP_EXPORTS
# define PHPZIPAPI __declspec(dllexport)
-# elif defined(COMPILE_DL_ZIP)
-# define PHPZIPAPI __declspec(dllimport)
# else
# define PHPZIPAPI
# endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php