#48636 [Opn->Csd]: compilation broken due missing llabs() inline
ID: 48636
Updated by: iliaa@php.net
Reported By: guenter@php.net
-Status: Open
+Status: Closed
Bug Type: Date/time related
Operating System: NetWare
PHP Version: 5.2.10
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-06-22 01:46:56] guenter@php.net
Description:
------------
date/php_date.c needs another inline for NetWare Metrowerks compiler:
--- php_date.c.orig Sat Jun 06 00:34:30 2009
+++ php_date.c Mon Jun 22 02:44:27 2009
@@ -38,6 +38,10 @@
static __inline __int64_t llabs( __int64_t i ) { return i >= 0 ? i :
-i; }
#endif
+#if defined(NETWARE) && defined(__MWERKS__)
+static __inline long long llabs( long long i ) { return i >= 0 ? i :
-i; }
+#endif
+
/* {{{ arginfo */
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48636&edit=1
Thread (2 messages)