apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r557422 - /apr/apr-util/trunk/include/apu.hnw
Date Wed, 18 Jul 2007 22:49:04 GMT
Author: fuankg
Date: Wed Jul 18 15:49:01 2007
New Revision: 557422

URL: http://svn.apache.org/viewvc?view=rev&rev=557422
Log:
added check for newer NDKs which use now correctly 'const char*' with iconv.

Modified:
    apr/apr-util/trunk/include/apu.hnw

Modified: apr/apr-util/trunk/include/apu.hnw
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apu.hnw?view=diff&rev=557422&r1=557421&r2=557422
==============================================================================
--- apr/apr-util/trunk/include/apu.hnw (original)
+++ apr/apr-util/trunk/include/apu.hnw Wed Jul 18 15:49:01 2007
@@ -82,5 +82,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