You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2007/08/14 00:15:06 UTC
svn commit: r565554 - /apr/apr-util/branches/0.9.x/include/apu.hnw
Author: fuankg
Date: Mon Aug 13 15:15:05 2007
New Revision: 565554
URL: http://svn.apache.org/viewvc?view=rev&rev=565554
Log:
added check for newer NDKs which use now correctly 'const char*' with iconv.
Modified:
apr/apr-util/branches/0.9.x/include/apu.hnw
Modified: apr/apr-util/branches/0.9.x/include/apu.hnw
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/include/apu.hnw?view=diff&rev=565554&r1=565553&r2=565554
==============================================================================
--- apr/apr-util/branches/0.9.x/include/apu.hnw (original)
+++ apr/apr-util/branches/0.9.x/include/apu.hnw Mon Aug 13 15:15:05 2007
@@ -79,5 +79,13 @@
#define APU_HAVE_ICONV 1
#define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
+/*
+ * check for newer NDKs which use now correctly 'const char*' with iconv.
+ */
+#include <ndkvers.h>
+#if (CURRENT_NDK_THRESHOLD >= 705110000)
+#define APU_ICONV_INBUF_CONST
+#endif
+
#endif /* APU_H */
/** @} */