| 1 |
Index: libtext-iconv-perl-1.7/Iconv.xs |
| 2 |
=================================================================== |
| 3 |
--- libtext-iconv-perl-1.7.orig/Iconv.xs |
| 4 |
+++ libtext-iconv-perl-1.7/Iconv.xs |
| 5 |
@@ -114,7 +114,7 @@ SV *do_conv(struct tiobj *obj, SV *strin |
| 6 |
|
| 7 |
while(inbytesleft != 0) |
| 8 |
{ |
| 9 |
-#if (defined(__hpux) || defined(__linux) || defined(VMS)) && ! defined(_LIBICONV_VERSION) |
| 10 |
+#if (defined(__hpux) || defined(__linux) || defined(__GNU__) || defined(VMS)) && ! defined(_LIBICONV_VERSION) |
| 11 |
/* Even in HP-UX 11.00, documentation and header files do not agree */ |
| 12 |
/* glibc doesn't seem care too much about standards */ |
| 13 |
ret = iconv(obj->handle, &icursor, &inbytesleft, |