apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apr/include apr_lib.h
Date Sun, 03 Dec 2000 10:11:43 GMT
gstein      00/12/03 02:11:43

  Modified:    include  apr_lib.h
  Log:
  isascii() is not available on PowerPC versions of BeOS. Supply a definition.
  
  Submitted by: Sam TH <sam@uchicago.edu>
  
  Revision  Changes    Path
  1.45      +4 -0      apr/include/apr_lib.h
  
  Index: apr_lib.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_lib.h,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -u -r1.44 -r1.45
  --- apr_lib.h	2000/11/26 03:00:01	1.44
  +++ apr_lib.h	2000/12/03 10:11:43	1.45
  @@ -122,6 +122,10 @@
   #define apr_tolower(c) (tolower(((unsigned char)(c))))
   #define apr_toupper(c) (toupper(((unsigned char)(c))))
   
  +#if BEOS && __POWER_PC__
  +#define isascii(c) (((c) & ~0x7f)==0)
  +#endif
  +
   /*
    * Small utility macros to make things easier to read.  Not usually a
    * goal, to be sure..
  
  
  

Mime
View raw message