Crypto++
stdcpp.h
1 #ifndef CRYPTOPP_STDCPP_H
2 #define CRYPTOPP_STDCPP_H
3 
4 #if _MSC_VER >= 1500
5 #define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
6 #include <intrin.h>
7 #endif
8 
9 #include <stddef.h>
10 #include <assert.h>
11 #include <limits.h>
12 #include <stdlib.h>
13 #include <string.h>
14 #include <memory>
15 #include <string>
16 #include <exception>
17 #include <typeinfo>
18 #include <algorithm>
19 #include <map>
20 #include <vector>
21 
22 #ifdef CRYPTOPP_INCLUDE_VECTOR_CC
23 // workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
24 #include <vector.cc>
25 #endif
26 
27 // for alloca
28 #ifdef __sun
29 #include <alloca.h>
30 #elif defined(__MINGW32__) || defined(__BORLANDC__)
31 #include <malloc.h>
32 #endif
33 
34 #ifdef _MSC_VER
35 #pragma warning(disable: 4231) // re-disable this
36 #ifdef _CRTAPI1
37 #define CRYPTOPP_MSVCRT6
38 #endif
39 #endif
40 
41 #endif