diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-09-24 00:45:59 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-09-24 00:45:59 +0000 |
commit | 1becc2a5b6b7f04ba31c8ac66704292b9f11b949 (patch) | |
tree | 7b067f23e0063f34db0fb8a756f606d166663c94 /pch.h | |
parent | 5b70f0e84d78f5e57805ce2ea3b9e123bab6cc9b (diff) | |
download | cryptopp-1becc2a5b6b7f04ba31c8ac66704292b9f11b949.tar.gz |
- 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
Diffstat (limited to 'pch.h')
-rw-r--r-- | pch.h | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -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 |