aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiel van Schijndel <me@mortis.eu>2011-06-24 22:14:15 +0200
committerGiel van Schijndel <me@mortis.eu>2011-07-13 05:10:15 +0200
commitd0538a81bb7836865086d72ccc6a4d263fa49aef (patch)
treef0f627dc9188eb11b02bed39ca66287ccd9634af /src
parent858cebed7dee2e9801e754a9969844b7969254ee (diff)
downloadbitcoin-d0538a81bb7836865086d72ccc6a4d263fa49aef.tar.xz
fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]
Only declare & define SigIllHandlerSSE2 when its used. Signed-off-by: Giel van Schijndel <me@mortis.eu>
Diffstat (limited to 'src')
-rw-r--r--src/cryptopp/cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptopp/cpu.cpp b/src/cryptopp/cpu.cpp
index 3e46804212..8789dc3176 100644
--- a/src/cryptopp/cpu.cpp
+++ b/src/cryptopp/cpu.cpp
@@ -80,7 +80,7 @@ bool CpuId(word32 input, word32 *output)
#endif
}
-#ifndef _MSC_VER
+#if !CRYPTOPP_BOOL_X64 && !defined(_MSC_VER) && defined(__GNUC__)
static jmp_buf s_jmpNoSSE2;
static void SigIllHandlerSSE2(int)
{