compilation broken due missing llabs() inline
| Bug #48636 | compilation broken due missing llabs() inline | ||||
|---|---|---|---|---|---|
| Submitted: | 2009-06-22 01:46 UTC | Modified: | 2009-06-22 13:43 UTC | ||
| From: | guenter@php.net | Assigned: | |||
| Status: | Closed | Package: | Date/time related | ||
| PHP Version: | 5.2.10 | OS: | NetWare | ||
| Private report: | No | CVE-ID: | None | ||
[2009-06-22 01:46 UTC] 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)
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2009-06-22 13:43 UTC] iliaa@php.net