mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-03 13:56:19 +12:00
Remove cryptoppwin submodule (#754)
Some checks failed
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Windows Build / build (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
Some checks failed
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Windows Build / build (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
This commit is contained in:
parent
5591606177
commit
6182d4cfe9
198 changed files with 51291 additions and 4 deletions
101
third_party/cryptoppwin/include/cryptopp/stdcpp.h
vendored
Normal file
101
third_party/cryptoppwin/include/cryptopp/stdcpp.h
vendored
Normal file
|
@ -0,0 +1,101 @@
|
|||
// stdcpp.h - originally written and placed in the public domain by Wei Dai
|
||||
|
||||
/// \file stdcpp.h
|
||||
/// \brief Common C++ header files
|
||||
|
||||
#ifndef CRYPTOPP_STDCPP_H
|
||||
#define CRYPTOPP_STDCPP_H
|
||||
|
||||
#if (CRYPTOPP_MSC_VERSION >= 1500)
|
||||
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <exception>
|
||||
#include <typeinfo>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <limits>
|
||||
#include <deque>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <new>
|
||||
|
||||
// http://connect.microsoft.com/VisualStudio/feedback/details/1600701/type-info-does-not-compile-with-has-exceptions-0
|
||||
#if defined(CRYPTOPP_MSC_VERSION) && (CRYPTOPP_MSC_VERSION < 1900) && defined(_HAS_EXCEPTIONS) && (_HAS_EXCEPTIONS == 0)
|
||||
namespace std {
|
||||
using ::type_info;
|
||||
}
|
||||
#endif
|
||||
|
||||
// workaround needed for IBM XLC and debug heaps on AIX
|
||||
#if defined(_AIX) && (defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__))
|
||||
# if defined(__DEBUG_ALLOC__)
|
||||
namespace std {
|
||||
using ::_debug_memset;
|
||||
using ::_debug_memcpy;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// make_unchecked_array_iterator
|
||||
#if (CRYPTOPP_MSC_VERSION >= 1600)
|
||||
#include <iterator>
|
||||
#endif
|
||||
|
||||
#if defined(CRYPTOPP_CXX11_ATOMIC)
|
||||
#include <atomic>
|
||||
#endif
|
||||
|
||||
#if defined(CRYPTOPP_CXX11_SYNCHRONIZATION)
|
||||
#include <mutex>
|
||||
#endif
|
||||
|
||||
#if defined(CRYPTOPP_CXX11_RVALUES)
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
|
||||
// It is 2019 and VS2017/Win10 still can't compile a
|
||||
// program that includes <cstddef> without making users
|
||||
// do something special. "Epic fail" comes to mind.
|
||||
// Also see https://github.com/weidai11/cryptopp/issues/781
|
||||
#ifndef CRYPTOPP_MSC_VERSION
|
||||
# include <cstddef>
|
||||
#endif
|
||||
|
||||
// uintptr_t and ptrdiff_t
|
||||
#if defined(__SUNPRO_CC)
|
||||
# if (__SUNPRO_CC >= 0x5100)
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
#elif defined(CRYPTOPP_MSC_VERSION)
|
||||
# if (CRYPTOPP_MSC_VERSION >= 1700)
|
||||
# include <stdint.h>
|
||||
# else
|
||||
# include <stddef.h>
|
||||
# endif
|
||||
#elif (__cplusplus < 201103L)
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
|
||||
#ifdef CRYPTOPP_INCLUDE_VECTOR_CC
|
||||
# include <vector.cc>
|
||||
#endif
|
||||
|
||||
// C++Builder's standard library (Dinkumware) do not have C's global log() function
|
||||
// https://github.com/weidai11/cryptopp/issues/520
|
||||
#ifdef __BORLANDC__
|
||||
using std::log;
|
||||
#endif
|
||||
|
||||
#endif // CRYPTOPP_STDCPP_H
|
Loading…
Add table
Add a link
Reference in a new issue