]> granicus.if.org Git - php/commitdiff
Fix linking of iconv on Windows
authorKalle Sommer Nielsen <kalle@php.net>
Mon, 8 Mar 2010 14:04:35 +0000 (14:04 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Mon, 8 Mar 2010 14:04:35 +0000 (14:04 +0000)
ext/iconv/config.w32

index 8b38e2c37b5f7b75504a99a3dbee23e25b4bf627..9d41b67447f1b21e63d57c93ec11f6209c83f781 100644 (file)
@@ -10,6 +10,7 @@ if (PHP_ICONV != "no") {
                
                AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
                AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
+               AC_DEFINE("HAVE_LIBICONV_IN_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
                AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
                AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
                ADD_FLAG("CFLAGS_ICONV", "/D PHP_ICONV_EXPORTS ");