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/07/19 14:43:51 UTC

svn commit: r557600 - /apr/apr-util/branches/1.2.x/include/apu.hnw

Author: fuankg
Date: Thu Jul 19 05:43:50 2007
New Revision: 557600

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

Modified:
    apr/apr-util/branches/1.2.x/include/apu.hnw

Modified: apr/apr-util/branches/1.2.x/include/apu.hnw
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/include/apu.hnw?view=diff&rev=557600&r1=557599&r2=557600
==============================================================================
--- apr/apr-util/branches/1.2.x/include/apu.hnw (original)
+++ apr/apr-util/branches/1.2.x/include/apu.hnw Thu Jul 19 05:43:50 2007
@@ -80,6 +80,14 @@
 #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
+
 /* 
  * Hack to enable dynamic loads within apr_dbd
  */