Browse Source

Fiddle windows.c

beta
jl777 7 years ago
parent
commit
71d8646618
  1. 8
      crypto777/OS_nonportable.c
  2. 2
      crypto777/nanosrc/utils/win.h
  3. 8
      iguana/exchanges/LP_socket.c

8
crypto777/OS_nonportable.c

@ -26,10 +26,10 @@
* not from the mingw header, so we need to include the windows header
* if we are compiling in windows 64bit
*/
#if defined(_M_X64)
#define WIN32_LEAN_AND_MEAN
#include <WinSock2.h>
#endif
//#if defined(_M_X64)
//#define WIN32_LEAN_AND_MEAN
//#include <WinSock2.h>
//#endif
#include "OS_portable.h"

2
crypto777/nanosrc/utils/win.h

@ -27,8 +27,8 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <winsock2.h>
//#include <windows.h>
#include <mswsock.h>
#include <process.h>
#include <ws2tcpip.h>

8
iguana/exchanges/LP_socket.c

@ -21,10 +21,10 @@
* @remarks - #if (defined(_M_X64) || defined(__amd64__)) && defined(WIN32)
* is equivalent to #if defined(_M_X64) as _M_X64 is defined for MSVC only
*/
#if defined(_M_X64)
#define WIN32_LEAN_AND_MEAN
#include <WinSock2.h>
#endif
//#if defined(_M_X64)
//#define WIN32_LEAN_AND_MEAN
//#include <WinSock2.h>
//#endif
#define ELECTRUM_TIMEOUT 5

Loading…
Cancel
Save