diff options
Diffstat (limited to '')
-rw-r--r-- | source/MCSocket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/MCSocket.h b/source/MCSocket.h index 554a5f35b..6fcbb069b 100644 --- a/source/MCSocket.h +++ b/source/MCSocket.h @@ -1,12 +1,12 @@ #pragma once #ifdef _WIN32 - -#include <winsock2.h> -#define socklen_t int -#ifdef SendMessage -#undef SendMessage -#endif +#include <Windows.h> +#include <WinSock.h> +// #define socklen_t int +// #ifdef SendMessage +// #undef SendMessage +// #endif #else // Linux threads http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html |