Browse Source

fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]

Only declare & define SigIllHandlerSSE2 when its used.

Signed-off-by: Giel van Schijndel <me@mortis.eu>
0.8
Giel van Schijndel 13 years ago
parent
commit
d0538a81bb
  1. 2
      src/cryptopp/cpu.cpp

2
src/cryptopp/cpu.cpp

@ -80,7 +80,7 @@ bool CpuId(word32 input, word32 *output) @@ -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)
{

Loading…
Cancel
Save