apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr.hw
Date Thu, 12 Dec 2002 06:59:48 GMT
wrowe       2002/12/11 22:59:48

  Modified:    include  apr.hw
  Log:
    Resolve an XXX question about Win64 behavior
  
  Revision  Changes    Path
  1.103     +9 -2      apr/include/apr.hw
  
  Index: apr.hw
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.hw,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- apr.hw	13 Oct 2002 03:37:21 -0000	1.102
  +++ apr.hw	12 Dec 2002 06:59:48 -0000	1.103
  @@ -415,13 +415,20 @@
   #define APR_DECLARE_DATA             __declspec(dllimport)
   #endif
   
  +#ifdef WIN64
  +#define APR_SSIZE_T_FMT          "I64d"
  +#define APR_SIZE_T_FMT           "I64d"
  +#else
   #define APR_SSIZE_T_FMT          "d"
  -
   #define APR_SIZE_T_FMT           "d"
  +#endif
   
  +#if APR_HAS_LARGE_FILES
   #define APR_OFF_T_FMT            "I64d"
  +#else
  +#define APR_OFF_T_FMT            "d"
  +#endif
   
  -/* XXX: Win64 portability problem? */
   #define APR_PID_T_FMT            "d"
   
   #define APR_INT64_T_FMT          "I64d"
  
  
  

Mime
View raw message