Skip to content

Commit 5b67588

Browse files
author
Jacob Adams
committed
iconv fix for illumos distributions
1 parent aea3ade commit 5b67588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/iconv/iconv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#undef iconv
4444
#endif
4545

46-
#if defined(__NetBSD__)
46+
#if defined(__NetBSD__) || defined (__illumos__)
4747
// unfortunately, netbsd has still the old non posix conformant signature
4848
// libiconv tends to match the eventual system's iconv too.
4949
#define ICONV_CONST const

0 commit comments

Comments
 (0)