Move iconv exports to the iconv extension

This commit is contained in:
Frank M. Kromann 2004-08-04 16:46:48 +00:00
parent 99e343d250
commit 3944483cac
2 changed files with 9 additions and 0 deletions

View File

@ -12,6 +12,9 @@ if (PHP_ICONV != "no") {
AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
if (!PHP_ICONV_SHARED) {
ADD_DEF_FILE("ext\\iconv\\php_iconv.def");
}
}
}

6
ext/iconv/php_iconv.def Normal file
View File

@ -0,0 +1,6 @@
EXPORTS
_libiconv_version
libiconv_close
libiconv
libiconv_open
libiconv_set_relocation_prefix