diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 12:55:42 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 12:55:42 +0000 |
commit | 844ecc37072d515513177c65a8c9dc35c9cdfc1a (patch) | |
tree | 733b1fe039c0c37095a594b66d5076f3f5a0153d /src/md5.h | |
parent | 25adbdabb47499fe641c7bd9595024ff82667058 (diff) |
httrack 3.33.16
Diffstat (limited to 'src/md5.h')
-rw-r--r-- | src/md5.h | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -1,16 +1,29 @@ #ifndef MD5_H #define MD5_H -#ifdef __alpha -typedef unsigned int uint32; +#ifdef _WIN32 +#ifndef SIZEOF_LONG +#define SIZEOF_LONG 4 +#endif #else +#include "config.h" +#endif + +#if SIZEOF_LONG==8 +typedef unsigned int uint32; +#elif SIZEOF_LONG==4 typedef unsigned long uint32; +#else +#error undefined: SIZEOF_LONG #endif struct MD5Context { + unsigned char in[64]; uint32 buf[4]; uint32 bits[2]; - unsigned char in[64]; +#ifdef _WIN32_WCE + uint32 pad[2]; +#endif int doByteReverse; }; |