ID: 50537
Updated by: [email protected]
Reported By: dax at enst dot fr
Status: Open
Bug Type: Compile Failure
Operating System: Solaris9
PHP Version: 5.3.1
New Comment:
FTR, I believe the OP is actually referring to the fix for bug #50266,
which was revision 291371.
Previous Comments:
------------------------------------------------------------------------
[2009-12-20 15:23:00] dax at enst dot fr
Description:
------------
IMHO, it seems to me that the fix of the Bug-id 50226 by Jani in
php_date.c is wrong.
Really, are you sure at line 38 it is #ifndef HAVE_LLABS
and not #ifdef HAVE_LLABS ?
With #ifdef the compilation runs finely until the end.
Please can you check ?
Philippe
Reproduce code:
---------------
#ifdef PHP_WIN32
# include "win32/php_stdint.h"
#endif
#ifdef HAVE_LLABS
# if defined(__GNUC__) && __GNUC__ < 3
static __inline __int64_t llabs( __int64_t i ) { return i >= 0 ? i :
-i; }
# elif defined(NETWARE) && defined(__MWERKS__)
static __inline long long llabs( long long i ) { return i >= 0 ? i :
-i; }
# endif
#endif
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50537&edit=1