apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject svn commit: r947160 - /apr/apr/trunk/include/apr_lib.h
Date Fri, 21 May 2010 20:22:39 GMT
Author: gregames
Date: Fri May 21 20:22:39 2010
New Revision: 947160

URL: http://svn.apache.org/viewvc?rev=947160&view=rev
Log:
use the OS's isascii() on EBCDIC systems

Modified:
    apr/apr/trunk/include/apr_lib.h

Modified: apr/apr/trunk/include/apr_lib.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_lib.h?rev=947160&r1=947159&r2=947160&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_lib.h (original)
+++ apr/apr/trunk/include/apr_lib.h Fri May 21 20:22:39 2010
@@ -212,7 +212,7 @@ APR_DECLARE(apr_status_t) apr_password_g
 /** @see islower*/
 #define apr_islower(c) (islower(((unsigned char)(c))))
 /** @see isascii */
-#ifdef isascii
+#if APR_CHARSET_EBCDIC || defined(isascii)
 #define apr_isascii(c) (isascii(((unsigned char)(c))))
 #else
 #define apr_isascii(c) (((c) & ~0x7f)==0)



Mime
View raw message