From 1becc2a5b6b7f04ba31c8ac66704292b9f11b949 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 24 Sep 2007 00:45:59 +0000 Subject: - port x64 assembly code to MASM - improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@398 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- pch.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'pch.h') diff --git a/pch.h b/pch.h index 7391e5e..418c390 100644 --- a/pch.h +++ b/pch.h @@ -1,13 +1,21 @@ #ifndef CRYPTOPP_PCH_H #define CRYPTOPP_PCH_H -#include "config.h" +#ifdef CRYPTOPP_GENERATE_X64_MASM + + #include "cpu.h" + +#else + + #include "config.h" + + #ifdef USE_PRECOMPILED_HEADERS + #include "simple.h" + #include "secblock.h" + #include "misc.h" + #include "smartptr.h" + #endif -#ifdef USE_PRECOMPILED_HEADERS -#include "simple.h" -#include "secblock.h" -#include "misc.h" -#include "smartptr.h" #endif #endif -- cgit v1.2.1