php4-beta | 199912
Date: 12/30/99
- Next message: Gregory Blake: "[PHP4BETA] building PHP4 problems... out of virtual memory"
- Previous message: Sascha Schumann: "[PHP4BETA] cvs: /php4/build build2.mk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sas Thu Dec 30 11:09:49 1999 EDT
Modified files:
/php4 acinclude.m4 php.h
Log:
Typedef socklen_t, if it is not available
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.55 php4/acinclude.m4:1.56
--- php4/acinclude.m4:1.55 Thu Dec 30 09:48:26 1999
+++ php4/acinclude.m4 Thu Dec 30 11:09:17 1999
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.55 1999/12/30 14:48:26 sas Exp $
+dnl $Id: acinclude.m4,v 1.56 1999/12/30 16:09:17 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -117,8 +117,8 @@
],[
ac_cv_socklen_t=no
]))
-if test "$ac_cv_socklen_t" = "no"; then
- AC_DEFINE(socklen_t, unsigned int)
+if test "$ac_cv_socklen_t" = "yes"; then
+ AC_DEFINE(HAVE_SOCKLEN_T, 1, [Whether you have socklen_t])
fi
])
Index: php4/php.h
diff -u php4/php.h:1.52 php4/php.h:1.53
--- php4/php.h:1.52 Tue Dec 21 14:40:26 1999
+++ php4/php.h Thu Dec 30 11:09:17 1999
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.52 1999/12/21 19:40:26 andrei Exp $ */
+/* $Id: php.h,v 1.53 1999/12/30 16:09:17 sas Exp $ */
#ifndef _PHP_H
#define _PHP_H
@@ -106,6 +106,10 @@
#ifndef HAVE_STRTOK_R
char *strtok_r(char *s, const char *delim, char **last);
+#endif
+
+#ifndef HAVE_SOCKLEN_T
+typedef unsigned int socklen_t;
#endif
#include "request_info.h"
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Gregory Blake: "[PHP4BETA] building PHP4 problems... out of virtual memory"
- Previous message: Sascha Schumann: "[PHP4BETA] cvs: /php4/build build2.mk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

