mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 17:43:20 -08:00
update third_party/martins_hash with latest code
This commit is contained in:
1 parent
4bc6240ac0
commit
6589cbe374
4 files changed
+842
-250
No files matched your search
Vendored
+4
-4
@@ -46,9 +46,9 @@ static inline void md5_finish(md5_ctx* ctx, uint8_t digest[MD5_DIGEST_SIZE]);
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# define MD5_GET32LE(ptr) *((const _UNALIGNED uint32_t*)(ptr))
|
||||
# define MD5_SET32LE(ptr,x) *((_UNALIGNED uint32_t*)(ptr)) = (x)
|
||||
# define MD5_SET64LE(ptr,x) *((_UNALIGNED uint64_t*)(ptr)) = (x)
|
||||
# define MD5_GET32LE(ptr) *((const __unaligned uint32_t*)(ptr))
|
||||
# define MD5_SET32LE(ptr,x) *((__unaligned uint32_t*)(ptr)) = (x)
|
||||
# define MD5_SET64LE(ptr,x) *((__unaligned uint64_t*)(ptr)) = (x)
|
||||
#else
|
||||
# define MD5_GET32LE(ptr) \
|
||||
( \
|
||||
@@ -431,5 +431,5 @@ void md5_finish(md5_ctx* ctx, uint8_t digest[MD5_DIGEST_SIZE])
|
||||
}
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
Reference in new issue
Block a user