From d7d387a2140ddd0323357b8187a9aa44b29aa014 Mon Sep 17 00:00:00 2001 From: troky Date: Sat, 21 Jun 2014 18:43:59 +0200 Subject: [PATCH] MSVS fix for talkcoin commit. --- algorithm/marucoin.c | 2 +- algorithm/talkcoin.c | 2 +- winbuild/sgminer.vcxproj | 2 ++ winbuild/sgminer.vcxproj.filters | 6 ++++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/algorithm/marucoin.c b/algorithm/marucoin.c index d54b8f2d..82941581 100644 --- a/algorithm/marucoin.c +++ b/algorithm/marucoin.c @@ -66,7 +66,7 @@ typedef struct { sph_fugue512_context fugue1; } Xhash_context_holder; -Xhash_context_holder base_contexts; +static Xhash_context_holder base_contexts; void init_Mhash_contexts() diff --git a/algorithm/talkcoin.c b/algorithm/talkcoin.c index aa5f737c..7da83f15 100644 --- a/algorithm/talkcoin.c +++ b/algorithm/talkcoin.c @@ -47,7 +47,7 @@ typedef struct sph_skein512_context skein1; } Xhash_context_holder; -Xhash_context_holder base_contexts; +static Xhash_context_holder base_contexts; void init_Nhash_contexts() { diff --git a/winbuild/sgminer.vcxproj b/winbuild/sgminer.vcxproj index 806b1694..37bc41b5 100644 --- a/winbuild/sgminer.vcxproj +++ b/winbuild/sgminer.vcxproj @@ -257,6 +257,7 @@ + @@ -319,6 +320,7 @@ + diff --git a/winbuild/sgminer.vcxproj.filters b/winbuild/sgminer.vcxproj.filters index b0546660..95548801 100644 --- a/winbuild/sgminer.vcxproj.filters +++ b/winbuild/sgminer.vcxproj.filters @@ -215,6 +215,9 @@ Source Files + + Source Files\algorithm + @@ -388,6 +391,9 @@ Header Files + + Header Files\algorithm +