diff options
author | lloyd <[email protected]> | 2008-10-11 18:04:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-11 18:04:15 +0000 |
commit | f4de00db6e85ab97e3f23878bcdc5ce69c95f004 (patch) | |
tree | 090c0de1dd8348062d8d05fd93934a598251d1d0 /src/math/gfpmath/gfp_element.h | |
parent | f48380b83d115a86900ce87aae034d18d76d738e (diff) |
Remove last use of freestore.h from gfpmath, move it to CVC code which still
uses it. Include tr1 header directly in gfp_element.h
Diffstat (limited to 'src/math/gfpmath/gfp_element.h')
-rw-r--r-- | src/math/gfpmath/gfp_element.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h index 39e728cfa..b168d424a 100644 --- a/src/math/gfpmath/gfp_element.h +++ b/src/math/gfpmath/gfp_element.h @@ -14,9 +14,16 @@ #include <botan/bigint.h> #include <botan/gfp_modulus.h> -#include <botan/freestore.h> #include <iostream> +#if defined(BOTAN_USE_TR1_SHARED_PTR) + #include <tr1/memory> +#elif defined(BOTAN_USE_BOOST_TR1_SHARED_PTR) + #include <boost/tr1/memory.hpp> +#else + #error "Please choose a shared_ptr implementation" +#endif + namespace Botan { struct Illegal_Transformation : public Exception |