15 #ifndef CRYPTOPP_CONFIG_MISC_H 16 #define CRYPTOPP_CONFIG_MISC_H 25 #if !defined(CRYPTOPP_LITTLE_ENDIAN) && !defined(CRYPTOPP_BIG_ENDIAN) && (defined(__BIG_ENDIAN__) || (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || (defined(__m68k__) || defined(__MC68K__)) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__MIPSEB__) || defined(__ARMEB__) || (defined(__MWERKS__) && !defined(__INTEL__))) 26 # define CRYPTOPP_BIG_ENDIAN 1 31 #if !defined(CRYPTOPP_BIG_ENDIAN) && !defined(CRYPTOPP_LITTLE_ENDIAN) 32 # define CRYPTOPP_LITTLE_ENDIAN 1 40 #ifndef CRYPTOPP_DATA_DIR 41 # define CRYPTOPP_DATA_DIR "" 63 #define CRYPTOPP_SLOW_ARMV8_SHIFT 1 71 #if (defined(DEBUG) || defined(_DEBUG)) && !defined(CRYPTOPP_DEBUG) 72 # define CRYPTOPP_DEBUG 1 77 #if !defined(GZIP_OS_CODE) 78 # if defined(__macintosh__) 79 # define GZIP_OS_CODE 7 80 # elif defined(__unix__) || defined(__linux__) 81 # define GZIP_OS_CODE 3 83 # define GZIP_OS_CODE 0 112 #if (CRYPTOPP_GCC_VERSION >= 40600) || (CRYPTOPP_LLVM_CLANG_VERSION >= 10700) || \ 113 (CRYPTOPP_APPLE_CLANG_VERSION >= 20000) 114 #define CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 1 119 #ifndef CRYPTOPP_UNUSED 120 #define CRYPTOPP_UNUSED(x) ((void)(x)) 124 #if defined(_MSC_VER) 125 # define CRYPTOPP_NOINLINE_DOTDOTDOT 126 # define CRYPTOPP_NOINLINE __declspec(noinline) 127 #elif defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__) 128 # define CRYPTOPP_NOINLINE_DOTDOTDOT ... 129 # define CRYPTOPP_NOINLINE __attribute__((noinline)) 130 #elif defined(__GNUC__) 131 # define CRYPTOPP_NOINLINE_DOTDOTDOT 132 # define CRYPTOPP_NOINLINE __attribute__((noinline)) 134 # define CRYPTOPP_NOINLINE_DOTDOTDOT ... 135 # define CRYPTOPP_NOINLINE 139 #if defined(CRYPTOPP_CXX11_CONSTEXPR) 140 # define CRYPTOPP_STATIC_CONSTEXPR static constexpr 141 # define CRYPTOPP_CONSTEXPR constexpr 143 # define CRYPTOPP_STATIC_CONSTEXPR static 144 # define CRYPTOPP_CONSTEXPR 145 #endif // CRYPTOPP_CXX11_CONSTEXPR 147 #if defined(CRYPTOPP_DOXYGEN_PROCESSING) 148 # define CRYPTOPP_CONSTANT(x) static const int x 149 #elif defined(CRYPTOPP_CXX11_STRONG_ENUM) 150 # define CRYPTOPP_CONSTANT(x) enum : int { x } 151 #elif defined(CRYPTOPP_CXX11_CONSTEXPR) 152 # define CRYPTOPP_CONSTANT(x) constexpr static int x 154 # define CRYPTOPP_CONSTANT(x) static const int x 163 # pragma warning(disable: 4127 4512 4661 4910) 165 # if _MSC_VER >= 1920 167 # pragma warning(disable: 5054) 171 # pragma warning(once: 4191 4242 4263 4264 4266 4302 4826 4905 4906 4928) 180 #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE 181 # pragma GCC diagnostic ignored "-Wunknown-pragmas" 182 # pragma GCC diagnostic ignored "-Wunused-function" 185 #endif // CRYPTOPP_CONFIG_MISC_H Library configuration file.
Library configuration file.
Library configuration file.
Library configuration file.