changeset 781:bd80d14b7945 draft

fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function] Only declare & define SigIllHandlerSSE2 when its used. Signed-off-by: Giel van Schijndel <me@mortis.eu>
author Giel van Schijndel <me@mortis.eu>
date Fri, 24 Jun 2011 22:14:15 +0200
parents 91000c73fe40
children 1a2b182f5aa1
files src/cryptopp/cpu.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cryptopp/cpu.cpp
+++ b/src/cryptopp/cpu.cpp
@@ -80,7 +80,7 @@
 #endif
 }
 
-#ifndef _MSC_VER
+#if !CRYPTOPP_BOOL_X64 && !defined(_MSC_VER) && defined(__GNUC__)
 static jmp_buf s_jmpNoSSE2;
 static void SigIllHandlerSSE2(int)
 {