diff options
-rw-r--r-- | main/network.c | 4 | ||||
-rw-r--r-- | win32/php4dllts.dsp | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/main/network.c b/main/network.c index cf96982e6b..8a7f3da006 100644 --- a/main/network.c +++ b/main/network.c @@ -223,7 +223,9 @@ static int php_network_getaddresses(const char *host, struct sockaddr ***sal TSR struct in_addr in; if (!inet_aton(host, &in)) { - /* XXX NOT THREAD SAFE */ + /* XXX NOT THREAD SAFE + * (but it *is* thread safe under win32) + */ host_info = gethostbyname(host); if (host_info == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "php_network_getaddresses: gethostbyname failed"); diff --git a/win32/php4dllts.dsp b/win32/php4dllts.dsp index a9b193fea6..d3bdb9cf24 100644 --- a/win32/php4dllts.dsp +++ b/win32/php4dllts.dsp @@ -270,7 +270,7 @@ SOURCE=..\ext\standard\aggregation.h # End Source File
# Begin Source File
-SOURCE=..\ext\standard\config.w32.h
+SOURCE=..\main\config.w32.h
# End Source File
# Begin Source File
@@ -1876,6 +1876,10 @@ SOURCE=..\ext\standard\php_string.h # End Source File
# Begin Source File
+SOURCE=..\ext\standard\php_sunfuncs.h
+# End Source File
+# Begin Source File
+
SOURCE=..\ext\standard\php_syslog.h
# End Source File
# Begin Source File
@@ -1900,10 +1904,6 @@ SOURCE=..\ext\standard\sha1.h # End Source File
# Begin Source File
-SOURCE=..\ext\standard\php_sunfuncs.h
-# End Source File
-# Begin Source File
-
SOURCE=..\ext\standard\type.h
# End Source File
# Begin Source File
|