diff options
| author | Giel van Schijndel <[email protected]> | 2011-06-24 22:14:15 +0200 |
|---|---|---|
| committer | Giel van Schijndel <[email protected]> | 2011-07-13 05:10:15 +0200 |
| commit | d0538a81bb7836865086d72ccc6a4d263fa49aef (patch) | |
| tree | f0f627dc9188eb11b02bed39ca66287ccd9634af /src/cryptopp/cpu.cpp | |
| parent | fix warning: unused variable 'X' [-Wunused-variable] (diff) | |
| download | discoin-d0538a81bb7836865086d72ccc6a4d263fa49aef.tar.xz discoin-d0538a81bb7836865086d72ccc6a4d263fa49aef.zip | |
fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]
Only declare & define SigIllHandlerSSE2 when its used.
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/cryptopp/cpu.cpp')
| -rw-r--r-- | src/cryptopp/cpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptopp/cpu.cpp b/src/cryptopp/cpu.cpp index 3e4680421..8789dc317 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) { |