~ubuntu-branches/debian/jessie/armory/jessie

« back to all changes in this revision

Viewing changes to cppForSwig/cryptopp/stdcpp.h

  • Committer: Package Import Robot
  • Author(s): Joseph Bisch
  • Date: 2014-10-07 10:22:45 UTC
  • Revision ID: package-import@ubuntu.com-20141007102245-2s3x3rhjxg689hek
Tags: upstream-0.92.3
ImportĀ upstreamĀ versionĀ 0.92.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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