From a537713396b999b46b90898a4e11f716928e9b65 Mon Sep 17 00:00:00 2001 From: Marc Cannon Date: Thu, 24 Jan 2013 22:22:24 -0500 Subject: [PATCH] Pull in the SSE2-specific LTC/LTM libs for SSE2 builds (again, this is a hack -- need to find a better method) --- src/CryptHelpers.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/CryptHelpers.cpp b/src/CryptHelpers.cpp index 8088804b..6a95f7fb 100644 --- a/src/CryptHelpers.cpp +++ b/src/CryptHelpers.cpp @@ -4,11 +4,6 @@ #include "RageUtil.h" #include "RageLog.h" -// crypt headers -#define LTM_DESC -#define SHA1_DESC -#define YARROW_DESC - // tomcrypt want to #define ENDIAN_LITTLE, which is also in our own config.h. We're not using it in this file anyway. #undef ENDIAN_LITTLE @@ -20,8 +15,13 @@ #pragma comment(lib, "libtomcrypt/Debug/tomcrypt.lib") #pragma comment(lib, "libtommath/Debug/tommath.lib") #else - #pragma comment(lib, "libtomcrypt/Release/tomcrypt.lib") - #pragma comment(lib, "libtommath/Release/tommath.lib") + #if defined(WITH_SSE2) + #pragma comment(lib, "libtomcrypt/Release-SSE2/tomcrypt.lib") + #pragma comment(lib, "libtommath/Release-SSE2/tommath.lib") + #else + #pragma comment(lib, "libtomcrypt/Release/tomcrypt.lib") + #pragma comment(lib, "libtommath/Release/tommath.lib") + #endif #endif #endif -- 2.11.0