MFPECL: fix windows build for all cases, and always export symbols (Steph Fox)

This commit is contained in:
Greg Beaver 2008-01-14 03:15:50 +00:00
parent 3fd137c88f
commit 5c8c279a55
2 changed files with 1 additions and 5 deletions

View File

@ -31,9 +31,7 @@ if (PHP_ZIP != "no") {
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");
}

View File

@ -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