summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/crypto/stdcpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/crypto/stdcpp.h')
-rw-r--r--plugins/CryptoPP/crypto/stdcpp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/CryptoPP/crypto/stdcpp.h b/plugins/CryptoPP/crypto/stdcpp.h
new file mode 100644
index 0000000000..e535310efa
--- /dev/null
+++ b/plugins/CryptoPP/crypto/stdcpp.h
@@ -0,0 +1,27 @@
+#ifndef CRYPTOPP_STDCPP_H
+#define CRYPTOPP_STDCPP_H
+
+#include <stddef.h>
+#include <assert.h>
+#include <limits.h>
+#include <memory>
+#include <string>
+#include <exception>
+#include <typeinfo>
+
+
+#ifdef _MSC_VER
+#include <string.h> // CodeWarrior doesn't have memory.h
+#include <algorithm>
+#include <map>
+#include <vector>
+
+// re-disable this
+#pragma warning(disable: 4231)
+#endif
+
+#if defined(_MSC_VER) && defined(_CRTAPI1)
+#define CRYPTOPP_MSVCRT6
+#endif
+
+#endif