1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build after r384096 (hiding of _LIBICONV_VERSION)

Reported by:	antoine
This commit is contained in:
Tijl Coosemans 2015-04-17 07:44:51 +00:00
parent 64e8bce526
commit 097b633cee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384139

View File

@ -22,7 +22,7 @@
#endif
-#ifdef _LIBICONV_H
+#if defined(_LIBICONV_H) && _LIBICONV_VERSION < 0x010B
+#if defined(_LIBICONV_VERSION) && _LIBICONV_VERSION < 0x010B
#define ICONV_INPUT_CAST
#else
/* older versions of iconv() were broken in regard to the