summaryrefslogtreecommitdiff
path: root/src-cryptopp/stdcpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-cryptopp/stdcpp.h')
-rw-r--r--src-cryptopp/stdcpp.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src-cryptopp/stdcpp.h b/src-cryptopp/stdcpp.h
new file mode 100644
index 0000000..234bf54
--- /dev/null
+++ b/src-cryptopp/stdcpp.h
@@ -0,0 +1,31 @@
+#ifndef CRYPTOPP_STDCPP_H
+#define CRYPTOPP_STDCPP_H
+
+#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>
+
+// for alloca
+#ifdef __sun
+#include <alloca.h>
+#elif defined(__MINGW32__)
+#include <malloc.h>
+#endif
+
+#ifdef _MSC_VER
+#pragma warning(disable: 4231) // re-disable this
+#ifdef _CRTAPI1
+#define CRYPTOPP_MSVCRT6
+#endif
+#endif
+
+#endif