[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23952 - Extractor/src/common
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23952 - Extractor/src/common |
Date: |
Sat, 22 Sep 2012 22:31:18 +0200 |
Author: grothoff
Date: 2012-09-22 22:31:18 +0200 (Sat, 22 Sep 2012)
New Revision: 23952
Modified:
Extractor/src/common/convert.c
Log:
trying to make code build even without GNU iconv
Modified: Extractor/src/common/convert.c
===================================================================
--- Extractor/src/common/convert.c 2012-09-22 20:30:25 UTC (rev 23951)
+++ Extractor/src/common/convert.c 2012-09-22 20:31:18 UTC (rev 23952)
@@ -40,6 +40,7 @@
size_t len,
const char *charset)
{
+#if HAVE_ICONV
size_t tmpSize;
size_t finSize;
char *tmp;
@@ -84,6 +85,9 @@
free (tmp);
iconv_close (cd);
return ret;
+#else
+ return strdup (input);
+#endif
}
/* end of convert.c */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23952 - Extractor/src/common,
gnunet <=