apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r565554 - /apr/apr-util/branches/0.9.x/include/apu.hnw
Date Mon, 13 Aug 2007 22:15:06 GMT
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 */
 /** @} */



Mime
View raw message