From 50daa8c6d42da46c78d2a4e78b03366c08242bee Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 4 May 2009 17:10:26 +0000 Subject: [PATCH] - add llabs --- win32/php_stdint.h | 2 ++ 1 file changed, 2 insertions(+) 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 ] -- 2.50.1