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 08:20:28 GMT
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))))

Seems fine now, but I'd move it just outside of the block of the apr_is*
functions. Aesthetically nicer :-)

If Ryan doesn't apply this soon-ish (dunno if he is still on line), then
I'll do it in a while.

Cheers,
-g

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

Mime
View raw message