Crypto++
|
00001 #ifndef CRYPTOPP_STDCPP_H 00002 #define CRYPTOPP_STDCPP_H 00003 00004 #if _MSC_VER >= 1500 00005 #define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY 00006 #include <intrin.h> 00007 #endif 00008 00009 #include <stddef.h> 00010 #include <assert.h> 00011 #include <limits.h> 00012 #include <stdlib.h> 00013 #include <string.h> 00014 #include <memory> 00015 #include <string> 00016 #include <exception> 00017 #include <typeinfo> 00018 #include <algorithm> 00019 #include <map> 00020 #include <vector> 00021 00022 #ifdef CRYPTOPP_INCLUDE_VECTOR_CC 00023 // workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 00024 #include <vector.cc> 00025 #endif 00026 00027 // for alloca 00028 #ifdef __sun 00029 #include <alloca.h> 00030 #elif defined(__MINGW32__) || defined(__BORLANDC__) 00031 #include <malloc.h> 00032 #endif 00033 00034 #ifdef _MSC_VER 00035 #pragma warning(disable: 4231) // re-disable this 00036 #ifdef _CRTAPI1 00037 #define CRYPTOPP_MSVCRT6 00038 #endif 00039 #endif 00040 00041 #endif