svn: /php/php-src/trunk/ext/standard/ crypt_sha512.c
| From: | Pierre Joye | Date: | Mon, 26 Apr 2010 10:34:06 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/standard/ crypt_sha512.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62412@lists.php.net to get a copy of this message | ||
pajoye Mon, 26 Apr 2010 10:34:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298587
Log:
- Fix #51582, Don't assume UINT64_C it's ever available
Bug: http://bugs.php.net/51582 (Assigned) Don't assume
UINT64_C it's ever available
Changed paths:
U php/php-src/trunk/ext/standard/crypt_sha512.c
Modified: php/php-src/trunk/ext/standard/crypt_sha512.c
===================================================================
--- php/php-src/trunk/ext/standard/crypt_sha512.c 2010-04-26 10:25:34 UTC (rev 298586)
+++ php/php-src/trunk/ext/standard/crypt_sha512.c 2010-04-26 10:34:06 UTC (rev 298587)
@@ -53,6 +53,11 @@
# 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
{