apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r557600 - /apr/apr-util/branches/1.2.x/include/apu.hnw
Date Thu, 19 Jul 2007 12:43:51 GMT
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
  */



Mime
View raw message