summaryrefslogtreecommitdiff
path: root/ext/iconv/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/iconv/iconv.c')
-rw-r--r--ext/iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index cdff2982d5..f856eeeccb 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -182,7 +182,7 @@ static PHP_GINIT_FUNCTION(iconv)
}
/* }}} */
-#ifdef HAVE_LIBICONV
+#if defined(HAVE_LIBICONV) && defined(HAVE_LIBICONV_IN_LIBICONV)
#define iconv libiconv
#endif