httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr_time.h
Date Tue, 11 Apr 2000 16:21:21 GMT
dgaudet     00/04/11 09:21:21

  Modified:    src/lib/apr/include apr_time.h
  Log:
  note about int64 constants...
  
  Revision  Changes    Path
  1.15      +6 -0      apache-2.0/src/lib/apr/include/apr_time.h
  
  Index: apr_time.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_time.h,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- apr_time.h	2000/03/31 08:35:56	1.14
  +++ apr_time.h	2000/04/11 16:21:21	1.15
  @@ -71,6 +71,12 @@
   #ifdef WIN32
   #define AP_USEC_PER_SEC ((LONGLONG) 1000000)
   #else
  +/* XXX: this is wrong -- the LL is only required if int64 is implemented as
  + * a long long, it could be just a long on some platforms.  the C99
  + * correct way of doing this is to use INT64_C(1000000) which comes
  + * from stdint.h.  we'd probably be doing a Good Thing to check for
  + * INT64_C in autoconf... or otherwise define an AP_INT64_C(). -dean
  + */
   #define AP_USEC_PER_SEC (1000000LL)
   #endif
   
  
  
  

Mime
View raw message