diff options
author | Malf Furious <m@lfurio.us> | 2016-04-13 21:05:14 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-04-13 21:05:14 -0400 |
commit | 490d36e65ac24e34e3021c2a0947384aee138c88 (patch) | |
tree | 418a229fa60708d7796bc61f90794626aefed9d5 /cryptopp562/stdcpp.h | |
download | compass-490d36e65ac24e34e3021c2a0947384aee138c88.tar.gz compass-490d36e65ac24e34e3021c2a0947384aee138c88.zip |
Root commit for new Compass repository
This is the Alpha version of ComPASS, originally developed sometime in
2014.
Diffstat (limited to 'cryptopp562/stdcpp.h')
-rw-r--r-- | cryptopp562/stdcpp.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/cryptopp562/stdcpp.h b/cryptopp562/stdcpp.h new file mode 100644 index 0000000..6511c4f --- /dev/null +++ b/cryptopp562/stdcpp.h @@ -0,0 +1,41 @@ +#ifndef CRYPTOPP_STDCPP_H +#define CRYPTOPP_STDCPP_H + +#if _MSC_VER >= 1500 +#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY +#include <intrin.h> +#endif + +#include <stddef.h> +#include <assert.h> +#include <limits.h> +#include <stdlib.h> +#include <string.h> +#include <memory> +#include <string> +#include <exception> +#include <typeinfo> +#include <algorithm> +#include <map> +#include <vector> + +#ifdef CRYPTOPP_INCLUDE_VECTOR_CC +// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 +#include <vector.cc> +#endif + +// for alloca +#ifdef __sun +#include <alloca.h> +#elif defined(__MINGW32__) || defined(__BORLANDC__) +#include <malloc.h> +#endif + +#ifdef _MSC_VER +#pragma warning(disable: 4231) // re-disable this +#ifdef _CRTAPI1 +#define CRYPTOPP_MSVCRT6 +#endif +#endif + +#endif |