From: Pierre Joye Date: Mon, 4 May 2009 17:09:33 +0000 (+0000) Subject: - add llabs X-Git-Tag: php-5.3.0RC2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65a953084900f7368addf9cce4101f5782ef31f9;p=php - add llabs --- 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 ]