apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr-util/test testdate.c
Date Tue, 10 Sep 2002 08:25:43 GMT
jerenkrantz    2002/09/10 01:25:43

  Modified:    test     testdate.c
  Log:
  Get this test program to compile on Darwin.
  
  Revision  Changes    Path
  1.6       +8 -0      apr-util/test/testdate.c
  
  Index: testdate.c
  ===================================================================
  RCS file: /home/cvs/apr-util/test/testdate.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- testdate.c	28 Nov 2001 03:32:56 -0000	1.5
  +++ testdate.c	10 Sep 2002 08:25:43 -0000	1.6
  @@ -16,6 +16,14 @@
   #include <time.h>
   #include "apr_date.h"
   
  +#ifndef srand48
  +#define srand48 srandom
  +#endif
  +
  +#ifndef mrand48
  +#define mrand48 random
  +#endif
  +
   void gm_timestr_822(char *ts, apr_time_t sec);
   void gm_timestr_850(char *ts, apr_time_t sec);
   void gm_timestr_ccc(char *ts, apr_time_t sec);
  
  
  

Mime
View raw message