dreid       99/10/22 02:28:01

  Modified:    src/lib/apr/network_io/beos networkio.h
  Log:
  This small addition is needed to allow APR to build on PowerPC.
  
  Submitted by: Matt Zahorik
  Reviewed by:  David Reid
  
  Revision  Changes    Path
  1.4       +8 -0      apache-2.0/src/lib/apr/network_io/beos/networkio.h
  
  Index: networkio.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/networkio.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- networkio.h       1999/10/08 21:27:37     1.3
  +++ networkio.h       1999/10/22 09:27:57     1.4
  @@ -58,6 +58,14 @@
   
   #include <socket.h>
   #include <netdb.h>
  +
  +/* The definition of isascii was missed from the PowerPC ctype.h
  + *
  + * It will be included in the next release, but until then... */
  +#if __POWER_PC__
  +#define iasascii(c) (((c) & ~0x7f)==0)
  +#endif
  +
   #include "apr_general.h"
   #include <ByteOrder.h> /* for the ntohs definition */
   
  
  
  

Reply via email to