blob: 19c2e89e2cb0b03974a4bdb21591afd3c67c19f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ac,v 1.1 2000/11/27 14:26:18 rh Exp $
--- gconf/gconf-glib.c.orig Tue Nov 7 17:37:02 2000
+++ gconf/gconf-glib.c
@@ -9966,7 +9966,9 @@
#endif
#include <string.h>
+#ifdef HAVE_ICONV
#include <iconv.h>
+#endif
#include <errno.h>
#include "glib.h"
@@ -10482,6 +10484,7 @@
return retval;
}
+#ifdef HAVE_ICONV
/* iconv_open() etc. are not thread safe */
G_LOCK_DEFINE_STATIC (iconv_lock);
@@ -10580,7 +10583,7 @@
else
return dest;
}
-
+#endif /* HAVE_ICONV */
/*************************************************************/
|