You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by gr...@apache.org on 2010/05/21 22:22:39 UTC

svn commit: r947160 - /apr/apr/trunk/include/apr_lib.h

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)