86 |
#define CRYPTOPP_H |
#define CRYPTOPP_H |
87 |
|
|
88 |
#include <inttypes.h> |
#include <inttypes.h> |
89 |
|
#include <caml/config.h> |
90 |
|
|
91 |
//////////////////////////////////////////////////////////////////////////////// |
//////////////////////////////////////////////////////////////////////////////// |
92 |
#ifndef CRYPTOPP_CONFIG_H5392 |
#ifndef CRYPTOPP_CONFIG_H5392 |
94 |
|
|
95 |
// ***************** Important Settings ******************** |
// ***************** Important Settings ******************** |
96 |
|
|
|
// define this if running on a big-endian CPU |
|
|
#if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) |
|
|
# define IS_BIG_ENDIAN |
|
|
#endif |
|
|
|
|
97 |
// define this if running on a little-endian CPU |
// define this if running on a little-endian CPU |
98 |
// big endian will be assumed if IS_LITTLE_ENDIAN is not defined |
// big endian will be assumed if IS_LITTLE_ENDIAN is not defined |
99 |
#ifndef IS_BIG_ENDIAN |
#ifndef ARCH_BIG_ENDIAN |
100 |
# define IS_LITTLE_ENDIAN |
# define IS_LITTLE_ENDIAN |
101 |
#endif |
#endif |
102 |
|
|
103 |
|
// override #define in caml/compatability.h |
104 |
|
#undef flush |
105 |
|
|
106 |
// define this if you want to disable all OS-dependent features, |
// define this if you want to disable all OS-dependent features, |
107 |
// such as sockets and OS-provided random number generators |
// such as sockets and OS-provided random number generators |
108 |
// #define NO_OS_DEPENDENCE |
// #define NO_OS_DEPENDENCE |