You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2003/11/17 01:28:25 UTC

cvs commit: apr/include apr.hw apr.hnw

wrowe       2003/11/16 16:28:25

  Modified:    include  apr.hw apr.hnw
  Log:
    Puzzle for the day, how does sha2.c compile already on Win32 or Netware.
  
  Revision  Changes    Path
  1.120     +5 -1      apr/include/apr.hw
  
  Index: apr.hw
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.hw,v
  retrieving revision 1.119
  retrieving revision 1.120
  diff -u -r1.119 -r1.120
  --- apr.hw	16 Nov 2003 23:49:14 -0000	1.119
  +++ apr.hw	17 Nov 2003 00:28:25 -0000	1.120
  @@ -372,6 +372,10 @@
   #endif
   typedef  int         apr_socklen_t;
   
  +/* Are we big endian? */
  +/* XXX: Fatal assumption on Alpha platforms */
  +#define APR_IS_BIGENDIAN	0
  +
   #ifdef WIN64
   #define APR_SIZEOF_VOIDP   8
   #else
  @@ -399,7 +403,7 @@
   #endif
   
   #ifndef WS2TCPIP_INLINE
  -#define IN6_IS_ADDR_V4MAPPED(a) \
  +6:09 PM 11/16/2003#define IN6_IS_ADDR_V4MAPPED(a) \
       (   (*(const apr_uint64_t *)(const void *)(&(a)->s6_addr[0]) == 0) \
        && (*(const apr_uint32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff)))
   #endif
  
  
  
  1.40      +4 -0      apr/include/apr.hnw
  
  Index: apr.hnw
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.hnw,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- apr.hnw	16 Nov 2003 23:49:14 -0000	1.39
  +++ apr.hnw	17 Nov 2003 00:28:25 -0000	1.40
  @@ -265,6 +265,10 @@
   typedef  off64_t           apr_off_t;
   typedef  int               apr_socklen_t;
   
  +/* Are we big endian? */
  +/* XXX: Fatal assumption on Alpha platforms */
  +#define APR_IS_BIGENDIAN	0
  +
   #ifdef UNKNOWN_NETWARE_64BIT_FLAG_NEEDED
   #define APR_SIZEOF_VOIDP   8
   #else