File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ PHP NEWS
29
29
- Fixed bug #50282 (xmlrpc_encode_request() changes object into array in
30
30
calling function). (Felipe)
31
31
- Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani)
32
+ - Fixed bug #50266 (conflicting types for llabs). (Jani)
32
33
- Fixed bug #50255 (isset() and empty() silently casts array to object).
33
34
(Felipe)
34
35
- Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ PHP_ADD_INCLUDE([$ext_srcdir/lib])
16
16
17
17
PHP_INSTALL_HEADERS([ ext/date] , [ php_date.h lib/timelib.h lib/timelib_structs.h lib/timelib_config.h] )
18
18
19
+ AC_CHECK_FUNCS ( [ llabs] )
20
+
19
21
cat > $ext_builddir/lib/timelib_config.h <<EOF
20
22
# ifdef PHP_WIN32
21
23
# include "config.w32.h"
Original file line number Diff line number Diff line change 35
35
# include "win32/php_stdint.h"
36
36
#endif
37
37
38
- #if defined(__GNUC__ ) && __GNUC__ < 3
38
+ #ifndef HAVE_LLABS
39
+ # if defined(__GNUC__ ) && __GNUC__ < 3
39
40
static __inline __int64_t llabs ( __int64_t i ) { return i >= 0 ? i : - i ; }
40
- #endif
41
-
42
- #if defined(NETWARE ) && defined(__MWERKS__ )
41
+ # elif defined(NETWARE ) && defined(__MWERKS__ )
43
42
static __inline long long llabs ( long long i ) { return i >= 0 ? i : - i ; }
43
+ # endif
44
44
#endif
45
45
46
46
/* {{{ arginfo */
You can’t perform that action at this time.
0 commit comments