Permalink
Browse files

Remove platform_win32_winsock

  • Loading branch information...
1 parent 158bfab commit 91ecfbcae86cabd0b6872d6cda1d7a640b0d5737 @piscisaureus piscisaureus committed Aug 2, 2011
View
@@ -41,7 +41,6 @@
#ifdef __MINGW32__
# include <platform_win32.h> /* winapi_perror() */
-# include <platform_win32_winsock.h> /* wsa_init() */
# ifdef PTW32_STATIC_LIB
extern "C" {
BOOL __cdecl pthread_win32_process_attach_np (void);
@@ -2444,11 +2443,6 @@ char** Init(int argc, char *argv[]) {
RegisterSignalHandler(SIGTERM, SignalExit);
#endif // __POSIX__
-#ifdef __MINGW32__
- // Initialize winsock and soem related caches
- wsa_init();
-#endif // __MINGW32__
-
uv_prepare_init(&node::prepare_tick_watcher);
uv_prepare_start(&node::prepare_tick_watcher, PrepareTick);
uv_unref();
View
@@ -31,7 +31,6 @@
#ifdef __MINGW32__
# include "platform.h"
-# include <platform_win32_winsock.h> // htons, htonl
#endif
#ifdef __POSIX__
@@ -32,7 +32,6 @@
#ifdef __MINGW32__
# include <platform_win32.h>
-# include <platform_win32_winsock.h>
#endif
#ifdef HAVE_OPENSSL
View
@@ -36,7 +36,6 @@
#ifdef __MINGW32__
# include <platform_win32.h>
-# include <platform_win32_winsock.h>
#endif
#ifdef __POSIX__
View
@@ -33,7 +33,6 @@
# include <io.h>
# include <platform_win32.h>
-# include <platform_win32_winsock.h>
#endif
#ifdef __POSIX__
@@ -32,8 +32,6 @@
#include <platform_win32.h>
-#include <platform_win32_winsock.cc>
-
namespace node {
using namespace v8;
@@ -56,7 +56,8 @@
# define NOMCX
#endif
-#include <windows.h>
+#include <windows.h>
+#include <winsock2.h>
namespace node {
Oops, something went wrong.

0 comments on commit 91ecfbc

Please sign in to comment.