From 7b73ef6dbfb65df04adbcc0f793ef4b3c0f88600 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 17 Oct 2013 17:17:38 -0400 Subject: [PATCH] WINBUILD: Use correct calling convention for the vs2010 zlib libraries. --- .gitignore | 1 + win_build/boinc_cli.vcxproj | 8 ++++---- win_build/boincsvcctrl.vcxproj | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 82ca0e2ec2..255524fe52 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /win_build/installerv2/Progress /win_build/*.filters /win_build/boinc.sdf +/win_build/boinc.opensdf diff --git a/win_build/boinc_cli.vcxproj b/win_build/boinc_cli.vcxproj index d0a9ce898d..43fa47841d 100644 --- a/win_build/boinc_cli.vcxproj +++ b/win_build/boinc_cli.vcxproj @@ -108,7 +108,7 @@ Disabled ../lib;../api;../client/win;../client;..;../../boinc_depends_win_vs2010/openssl/include;../../boinc_depends_win_vs2010/curl/include;../../boinc_depends_win_vs2010/zlib/include;../coprocs/NVIDIA/include;../coprocs/OpenCL/include;%(AdditionalIncludeDirectories) - WIN32;_WIN32;_DEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;%(PreprocessorDefinitions) + WIN32;_WIN32;_DEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;ZLIB_WINAPI;%(PreprocessorDefinitions) false Async EnableFastChecks @@ -170,7 +170,7 @@ Disabled ../lib;../api;../client/win;../client;..;../../boinc_depends_win_vs2010/openssl/include;../../boinc_depends_win_vs2010/curl/include;../../boinc_depends_win_vs2010/zlib/include;../coprocs/NVIDIA/include;../coprocs/OpenCL/include;%(AdditionalIncludeDirectories) - WIN32;_WIN32;_DEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;%(PreprocessorDefinitions) + WIN32;_WIN32;_DEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;ZLIB_WINAPI;%(PreprocessorDefinitions) false Async EnableFastChecks @@ -233,7 +233,7 @@ MaxSpeed Default ../lib;../api;../client/win;../client;..;../../boinc_depends_win_vs2010/openssl/include;../../boinc_depends_win_vs2010/curl/include;../../boinc_depends_win_vs2010/zlib/include;../coprocs/NVIDIA/include;../coprocs/OpenCL/include;%(AdditionalIncludeDirectories) - WIN32;_WIN32;NDEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;%(PreprocessorDefinitions) + WIN32;_WIN32;NDEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;ZLIB_WINAPI;%(PreprocessorDefinitions) true Async MultiThreadedDLL @@ -294,7 +294,7 @@ MaxSpeed OnlyExplicitInline ../lib;../api;../client/win;../client;..;../../boinc_depends_win_vs2010/openssl/include;../../boinc_depends_win_vs2010/curl/include;../../boinc_depends_win_vs2010/zlib/include;../coprocs/NVIDIA/include;../coprocs/OpenCL/include;%(AdditionalIncludeDirectories) - WIN32;_WIN32;NDEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;%(PreprocessorDefinitions) + WIN32;_WIN32;NDEBUG;_MT;_DLL;_WINDOWS;_CONSOLE;_USE_CURL;USE_SSL;USE_SSLEAY;USE_OPENSSL;ZLIB_WINAPI;%(PreprocessorDefinitions) false Async MultiThreadedDLL diff --git a/win_build/boincsvcctrl.vcxproj b/win_build/boincsvcctrl.vcxproj index 4bc0b26120..35d6e6246d 100644 --- a/win_build/boincsvcctrl.vcxproj +++ b/win_build/boincsvcctrl.vcxproj @@ -152,7 +152,7 @@ RequireAdministrator - ../clientctrl/boincsvcctrl.xml;%(AdditionalManifestFiles) + %(AdditionalManifestFiles) @@ -281,7 +281,7 @@ RequireAdministrator - ../clientctrl/boincsvcctrl.xml;%(AdditionalManifestFiles) + %(AdditionalManifestFiles) @@ -345,7 +345,7 @@ RequireAdministrator - ../clientctrl/boincsvcctrl.xml;%(AdditionalManifestFiles) + %(AdditionalManifestFiles)