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
 {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to