diff options
author | Pierre Joye <pajoye@php.net> | 2009-05-04 17:09:33 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-05-04 17:09:33 +0000 |
commit | 65a953084900f7368addf9cce4101f5782ef31f9 (patch) | |
tree | 21f41dad7a5d918e5251a44c2595f4eefe03bc76 /win32 | |
parent | cbc9e850b97e60d2d604000aabec05448e976422 (diff) | |
download | php-git-65a953084900f7368addf9cce4101f5782ef31f9.tar.gz |
- add llabs
Diffstat (limited to 'win32')
-rw-r--r-- | win32/php_stdint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/php_stdint.h b/win32/php_stdint.h index 70909f0632..574f8e25f3 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -238,6 +238,8 @@ 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; } + #endif // __STDC_CONSTANT_MACROS ] |