From: Pierre Joye Date: Mon, 4 May 2009 17:10:26 +0000 (+0000) Subject: - add llabs X-Git-Tag: php-5.4.0alpha1~191^2~3759 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50daa8c6d42da46c78d2a4e78b03366c08242bee;p=php - add llabs --- diff --git a/win32/php_stdint.h b/win32/php_stdint.h index f933dc7010..ea43c64627 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -264,6 +264,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 ]