CVS update: php3/functions
| From: | ssb | Date: | Wed, 16 Jun 1999 09:57:41 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7012@lists.php.net to get a copy of this message | ||
Date: Wednesday June 16, 1999 @ 5:57
Author: ssb
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv20152
Modified Files:
fsock.c
Log Message:
Some #if -> #ifdef changes.
Index: php3/functions/fsock.c
diff -u php3/functions/fsock.c:1.117 php3/functions/fsock.c:1.118
--- php3/functions/fsock.c:1.117 Tue Jun 15 13:13:14 1999
+++ php3/functions/fsock.c Wed Jun 16 05:57:41 1999
@@ -27,7 +27,7 @@
| Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
-/* $Id: fsock.c,v 1.117 1999/06/15 17:13:14 fmk Exp $ */
+/* $Id: fsock.c,v 1.118 1999/06/16 09:57:41 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
@@ -36,20 +36,20 @@
#include "internal_functions.h"
#include <stdlib.h>
#include <stddef.h>
-#if HAVE_UNISTD_H
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#if HAVE_FCNTL_H
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#if HAVE_SYS_TIME_H
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/types.h>
-#if HAVE_SYS_SOCKET_H
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef WIN32
@@ -459,7 +459,7 @@
sock = _php3_sock_find(socket);
if(sock) {
if(!sock->persistent) {
-#if HAVE_SHUTDOWN
+#ifdef HAVE_SHUTDOWN
shutdown(sock->socket, 0);
#endif
#if WIN32||WINNT