diff options
| author | miod <> | 2014-04-28 21:14:50 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-28 21:14:50 +0000 |
| commit | 7d7f689b1ac66273ac1487594fc4ee4ce8abf7bb (patch) | |
| tree | c38bc7b3eb96fe7a9e0e0ce7390f75e6feb8fc91 /src/lib/libcrypto/whrlpool | |
| parent | 39f4a790c946d63805d314d963246640860e423d (diff) | |
| download | openbsd-7d7f689b1ac66273ac1487594fc4ee4ce8abf7bb.tar.gz openbsd-7d7f689b1ac66273ac1487594fc4ee4ce8abf7bb.tar.bz2 openbsd-7d7f689b1ac66273ac1487594fc4ee4ce8abf7bb.zip | |
Remove WIN32, WIN64 and MINGW32 tentacles.
Also check for _LP64 rather than __arch64__ (the former being more reliable
than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit
int platforms.
Loosely based upon a diff from Martijn van Duren on tech@
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
| -rw-r--r-- | src/lib/libcrypto/whrlpool/wp_block.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/whrlpool/wp_block.c b/src/lib/libcrypto/whrlpool/wp_block.c index 11164e50f5..9c194f968b 100644 --- a/src/lib/libcrypto/whrlpool/wp_block.c +++ b/src/lib/libcrypto/whrlpool/wp_block.c | |||
| @@ -40,9 +40,7 @@ | |||
| 40 | #include <machine/endian.h> | 40 | #include <machine/endian.h> |
| 41 | 41 | ||
| 42 | typedef unsigned char u8; | 42 | typedef unsigned char u8; |
| 43 | #if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32) | 43 | #if defined(_LP64) |
| 44 | typedef unsigned __int64 u64; | ||
| 45 | #elif defined(__arch64__) | ||
| 46 | typedef unsigned long u64; | 44 | typedef unsigned long u64; |
| 47 | #else | 45 | #else |
| 48 | typedef unsigned long long u64; | 46 | typedef unsigned long long u64; |
