diff options
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/main/main.c b/main/main.c index 9e139eff72..daa8235406 100644 --- a/main/main.c +++ b/main/main.c @@ -2057,10 +2057,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod zend_module_entry *module; #ifdef PHP_WIN32 - WORD wVersionRequested = MAKEWORD(2, 0); - WSADATA wsaData; -#endif -#ifdef PHP_WIN32 php_os = "WINNT"; old_invalid_parameter_handler = @@ -2146,14 +2142,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod tzset(); #endif -#ifdef PHP_WIN32 - /* start up winsock services */ - if (WSAStartup(wVersionRequested, &wsaData) != 0) { - php_printf("\nwinsock.dll unusable. %d\n", WSAGetLastError()); - return FAILURE; - } -#endif - le_index_ptr = zend_register_list_destructors_ex(NULL, NULL, "index pointer", 0); /* Register constants */ @@ -2416,11 +2404,6 @@ void php_module_shutdown(void) zend_shutdown(); -#ifdef PHP_WIN32 - /*close winsock */ - WSACleanup(); -#endif - /* Destroys filter & transport registries too */ php_shutdown_stream_wrappers(module_number); |