php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51183
Patch php_date.c.patch revision 2010-03-10 08:59 UTC by jose-marcio dot martins at mines-paristech dot fr

Patch php_date.c.patch for Date/time related Bug #51183

Patch version 2010-03-10 08:59 UTC

Return to Bug #51183 | Download this patch
Patch Revisions:

Developer: jose-marcio.martins@mines-paristech.fr

--- ext/date/php_date.c.org	Thu Feb 11 23:37:50 2010
+++ ext/date/php_date.c	Mon Mar  1 21:40:40 2010
@@ -35,7 +35,7 @@
 #elif defined(__GNUC__) && __GNUC__ < 3
 static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
 #else
-static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
+static long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
 #endif
 
 /* {{{ arginfo */
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 01:01:59 2014 UTC