diff options
author | Pierre Joye <pajoye@php.net> | 2010-04-26 10:34:06 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-04-26 10:34:06 +0000 |
commit | 75d9b3c7f8d826b5b44a327be7bcb7f43e899c4d (patch) | |
tree | c74fdef875295c8949b5a43d7aeb294fd06bf624 | |
parent | 00209d796637774202a4e38664ba344e91c50d47 (diff) | |
download | php-git-75d9b3c7f8d826b5b44a327be7bcb7f43e899c4d.tar.gz |
- Fix #51582, Don't assume UINT64_C it's ever available
-rw-r--r-- | ext/standard/crypt_sha512.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/standard/crypt_sha512.c b/ext/standard/crypt_sha512.c index ba9a639180..f78ff03981 100644 --- a/ext/standard/crypt_sha512.c +++ b/ext/standard/crypt_sha512.c @@ -53,6 +53,11 @@ extern char * __php_stpncpy(char *dst, const char *src, size_t len); # define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif +/* See #51582 */ +#ifndef UINT64_C +# define UINT64_C(value) __CONCAT(value, ULL) +#endif + /* Structure to save state of computation between the single steps. */ struct sha512_ctx { |