summaryrefslogtreecommitdiff
path: root/ext/soap/php_soap.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-03-04 23:01:24 +0000
committerWez Furlong <wez@php.net>2003-03-04 23:01:24 +0000
commit8e5aaa0e7cb6b79f3459f79bc4aa6bf64ac593e4 (patch)
treea9bb1b7f39252223c850690215700244efea2719 /ext/soap/php_soap.h
parent6efd9ea5c4f5d1d849bc5885050b87d0bf2cff10 (diff)
downloadphp-git-8e5aaa0e7cb6b79f3459f79bc4aa6bf64ac593e4.tar.gz
Miscellaneous compilation warning, coding standards, build related,
memory leak and segfault related fixes. The simple soap client/server code examples now run without leaking or segfaulting.
Diffstat (limited to 'ext/soap/php_soap.h')
-rw-r--r--ext/soap/php_soap.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h
index 470d998245..23ba3a6141 100644
--- a/ext/soap/php_soap.h
+++ b/ext/soap/php_soap.h
@@ -16,22 +16,14 @@
# include "ext/domxml/php_domxml.h"
#endif
-/*
- PHP_STREAMS were introduced php-4.2.0.. i think
- Make this part of configure
-*/
-#ifdef STREAMS_DC
-# define PHP_STREAMS
-#endif
-
#ifdef PHP_WIN32
-# ifdef PHP_STREAMS
+# ifdef PHP_HAVE_STREAMS
# define SOAP_STREAM php_stream *
# else
# define SOAP_STREAM SOCKET
# endif
#else
-# ifdef PHP_STREAMS
+# ifdef PHP_HAVE_STREAMS
# define SOAP_STREAM php_stream *
# else
# define SOCKET unsigned int
@@ -320,7 +312,7 @@ int my_call_user_function(HashTable *function_table, zval **object_pp, zval *fun
#define ENDFOREACH(n) \
} \
- } while(n = n->next);
+ } while ((n = n->next));
#define ZERO_PARAM() \
if(ZEND_NUM_ARGS() != 0) \