diff --git a/OSlibs/win/mingw.h b/OSlibs/win/mingw.h index 14425c659..a59a2305a 100755 --- a/OSlibs/win/mingw.h +++ b/OSlibs/win/mingw.h @@ -6,6 +6,7 @@ #define _USE_W32_SOCKETS 1 #include +#define PTW32_STATIC_LIB #include "pthread.h" #ifndef NATIVE_WINDOWS diff --git a/OSlibs/win/x64/pthread_lib.lib b/OSlibs/win/x64/pthread_lib.lib new file mode 100644 index 000000000..99c1e0dc3 Binary files /dev/null and b/OSlibs/win/x64/pthread_lib.lib differ diff --git a/crypto777/OS_portable.h b/crypto777/OS_portable.h index eb5237c0f..1b8603042 100755 --- a/crypto777/OS_portable.h +++ b/crypto777/OS_portable.h @@ -44,6 +44,7 @@ #define sleep(x) Sleep(1000*(x)) #include "../OSlibs/win/mingw.h" #include "../OSlibs/win/mman.h" +#define PTW32_STATIC_LIB #include "../OSlibs/win/pthread.h" #ifndef NATIVE_WINDOWS diff --git a/iguana.vcxproj b/iguana.vcxproj index 2aa68ff94..f5333b0a0 100644 --- a/iguana.vcxproj +++ b/iguana.vcxproj @@ -51,6 +51,7 @@ v140 true Unicode + Static @@ -81,6 +82,7 @@ false + false @@ -137,15 +139,16 @@ MaxSpeed true true - _CRT_SECURE_NO_WARNINGS;NATIVE_WINDOWS;WIN32;_CONSOLE;NDEBUG;%(PreprocessorDefinitions) - 1Byte + WIN64;_WIN64;_CRT_SECURE_NO_WARNINGS;NATIVE_WINDOWS;WIN32;_CONSOLE;NDEBUG;%(PreprocessorDefinitions) + 8Bytes + MultiThreaded Console true true true - Ws2_32.lib;%(AdditionalDependencies) + Ws2_32.lib;Advapi32.lib;$(SolutionDir)OSlibs\win\x64\pthread_lib.lib;%(AdditionalDependencies) @@ -282,16 +285,7 @@ - - - - - - - - - - + \ No newline at end of file diff --git a/iguana.vcxproj.filters b/iguana.vcxproj.filters index da9ab88db..0f03de4bd 100644 --- a/iguana.vcxproj.filters +++ b/iguana.vcxproj.filters @@ -131,15 +131,6 @@ - - - - - - - - -