blob: 90de7ff9adde4e346d1836fc54ed111435fdf4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.12 2005/10/04 09:55:06 adam Exp $
--- src/af/util/xp/ut_iconv.cpp.orig 2005-07-08 16:22:11.000000000 +0000
+++ src/af/util/xp/ut_iconv.cpp
@@ -68,7 +68,8 @@ extern "C" {
(defined (__MACH__) && defined (__APPLE__)) || \
(defined(TARGET_OS_MAC) && TARGET_OS_MAC) || \
defined (__AIX__) || \
-(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1))
+(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) || \
+defined(__NetBSD__) || (defined(_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x0109)
#define ICONV_CONST const
#else
|