2003-07-04 00:17:37 +00:00
|
|
|
#ifndef CRYPTOPP_STDCPP_H
|
|
|
|
#define CRYPTOPP_STDCPP_H
|
|
|
|
|
2010-07-24 05:35:54 +00:00
|
|
|
#if _MSC_VER >= 1500
|
|
|
|
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
|
|
|
|
#include <intrin.h>
|
|
|
|
#endif
|
|
|
|
|
2003-07-04 00:17:37 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <limits.h>
|
2010-06-18 07:06:59 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2003-07-04 00:17:37 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include <exception>
|
|
|
|
#include <typeinfo>
|
|
|
|
#include <algorithm>
|
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
|
2010-08-08 08:13:09 +00:00
|
|
|
#ifdef CRYPTOPP_INCLUDE_VECTOR_CC
|
2010-07-05 01:15:14 +00:00
|
|
|
// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
|
|
|
|
#include <vector.cc>
|
|
|
|
#endif
|
|
|
|
|
2010-06-18 07:06:59 +00:00
|
|
|
// for alloca
|
|
|
|
#ifdef __sun
|
|
|
|
#include <alloca.h>
|
2010-07-24 05:35:54 +00:00
|
|
|
#elif defined(__MINGW32__) || defined(__BORLANDC__)
|
2010-06-18 07:06:59 +00:00
|
|
|
#include <malloc.h>
|
2003-07-04 00:17:37 +00:00
|
|
|
#endif
|
|
|
|
|
2010-06-18 07:06:59 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(disable: 4231) // re-disable this
|
|
|
|
#ifdef _CRTAPI1
|
2003-07-04 00:17:37 +00:00
|
|
|
#define CRYPTOPP_MSVCRT6
|
|
|
|
#endif
|
2010-06-18 07:06:59 +00:00
|
|
|
#endif
|
2003-07-04 00:17:37 +00:00
|
|
|
|
|
|
|
#endif
|