mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
- fix php_date_llabs declaration
This commit is contained in:
parent
ed03634a8c
commit
da94f0736e
@ -32,10 +32,12 @@
|
||||
#include <time.h>
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
# include "win32/php_stdint.h"
|
||||
#endif
|
||||
|
||||
static __inline __int64 php_date_llabs( __int64 i ) { return i >= 0? i: -i; }
|
||||
#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; }
|
||||
#endif
|
||||
|
||||
/* {{{ arginfo */
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_date, 0, 0, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user