diff options
author | DJ Delorie <dj@redhat.com> | 2005-07-03 19:16:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-07-03 19:16:20 +0000 |
commit | 6ba85b8caf7b49723e475c3563995c44649e23b3 (patch) | |
tree | 5b4a6d142c7a5d949dd365dd5bd4c01b563b55e6 /include/md5.h | |
parent | 2f4535c7eb76b6a7ceee2e8805a103cb8a90efee (diff) | |
download | gdb-6ba85b8caf7b49723e475c3563995c44649e23b3.zip gdb-6ba85b8caf7b49723e475c3563995c44649e23b3.tar.gz gdb-6ba85b8caf7b49723e475c3563995c44649e23b3.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/md5.h')
-rw-r--r-- | include/md5.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/md5.h b/include/md5.h index 655933f..e357893 100644 --- a/include/md5.h +++ b/include/md5.h @@ -37,6 +37,7 @@ #ifdef _LIBC # include <sys/types.h> typedef u_int32_t md5_uint32; +typedef uintptr_t md5_uintptr; #else # define INT_MAX_32_BITS 2147483647 @@ -64,6 +65,9 @@ typedef u_int32_t md5_uint32; # endif # endif # endif +/* We have to make a guess about the integer type equivalent in size + to pointers which should always be correct. */ +typedef unsigned long int md5_uintptr; #endif /* Structure to save state of computation between the single steps. */ @@ -76,7 +80,7 @@ struct md5_ctx md5_uint32 total[2]; md5_uint32 buflen; - char buffer[128]; + char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32); }; /* |