httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr acconfig.h aclocal.m4
Date Tue, 11 Jan 2000 12:58:50 GMT
sascha      00/01/11 04:58:47

  Modified:    src/lib/apr acconfig.h aclocal.m4
  Log:
  Typedef socklen_t instead of defining it.
  
  Revision  Changes    Path
  1.20      +4 -0      apache-2.0/src/lib/apr/acconfig.h
  
  Index: acconfig.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/acconfig.h,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -u -r1.19 -r1.20
  --- acconfig.h	1999/12/31 04:15:08	1.19
  +++ acconfig.h	2000/01/11 12:58:46	1.20
  @@ -78,4 +78,8 @@
   #define strcasecmp(s1,s2) stricmp(s1,s2)
   #endif
   
  +#if !defined(HAVE_SOCKLEN_T)
  +typedef int socklen_t;
  +#endif
  +
   #endif /* APR_CONFIG_H */
  
  
  
  1.9       +2 -2      apache-2.0/src/lib/apr/aclocal.m4
  
  Index: aclocal.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/aclocal.m4,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- aclocal.m4	1999/12/29 23:54:27	1.8
  +++ aclocal.m4	2000/01/11 12:58:46	1.9
  @@ -183,7 +183,7 @@
   ])
   ])
   
  -if test "$ac_cv_socklen_t" = "no"; then
  -  AC_DEFINE(socklen_t, unsigned int, [Whether you have socklen_t])
  +if test "$ac_cv_socklen_t" = "yes"; then
  +  AC_DEFINE(HAVE_SOCKLEN_T, 1, [Whether you have socklen_t])
   fi
   ])
  
  
  

Mime
View raw message