apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: isascii on BeOS PPC
Date Sun, 03 Dec 2000 10:15:10 GMT
Applied. Thanks!

On Sun, Dec 03, 2000 at 02:10:08AM -0600, Sam TH wrote:
>...
> --- apr_lib.h	2000/11/26 03:00:01	1.44
> +++ apr_lib.h	2000/12/03 08:09:37
> @@ -113,6 +113,9 @@
>  #define apr_isdigit(c) (isdigit(((unsigned char)(c))))
>  #define apr_isgraph(c) (isgraph(((unsigned char)(c))))
>  #define apr_islower(c) (islower(((unsigned char)(c))))
> +#if BEOS && __POWER_PC__
> +#define isascii(c) (((c) & ~0x7f)==0)
> +#endif 
>  #define apr_isascii(c) (isascii(((unsigned char)(c))))
>  #define apr_isprint(c) (isprint(((unsigned char)(c))))
>  #define apr_ispunct(c) (ispunct(((unsigned char)(c))))

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message