/[mldonkey]/mldonkey/src/utils/lib/CryptoPP.h
ViewVC logotype

Diff of /mldonkey/src/utils/lib/CryptoPP.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by spiralvoice, Thu Oct 6 10:50:31 2005 UTC revision 1.3 by spiralvoice, Wed Nov 30 23:46:25 2005 UTC
# Line 86  Line 86 
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
# Line 93  Line 94 
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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26