fix gh-issue #3
authorMichael Wallner <mike@php.net>
Thu, 16 Jul 2015 11:07:55 +0000 (13:07 +0200)
committerMichael Wallner <mike@php.net>
Thu, 16 Jul 2015 11:07:55 +0000 (13:07 +0200)
php_http_querystring.c

index d2657484668ade531a876860c51354707e06a99e..d72337f80a5bc29e4c6544528127363f849c2cac 100644 (file)
@@ -16,6 +16,9 @@
 #include <ext/spl/spl_array.h>
 
 #ifdef PHP_HTTP_HAVE_ICONV
+#      ifndef HAVE_ICONV
+#              define HAVE_ICONV 1
+#      endif
 #      undef PHP_ATOM_INC
 #      include <ext/iconv/php_iconv.h>
 #endif