mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
- a macro will just do it too
This commit is contained in:
parent
53bb83ab8c
commit
e274a01620
@ -238,8 +238,7 @@ typedef uint64_t uintmax_t;
|
||||
#define INTMAX_C INT64_C
|
||||
#define UINTMAX_C UINT64_C
|
||||
|
||||
static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
|
||||
|
||||
#define llabs(i) (i >= 0? i : -i)
|
||||
#endif // __STDC_CONSTANT_MACROS ]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user