From: Pierre Joye Date: Mon, 4 May 2009 20:31:02 +0000 (+0000) Subject: - a macro will just do it too X-Git-Tag: php-5.3.0RC2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e274a016200cff64e76a44b14a951fa150ea9d34;p=php - a macro will just do it too --- diff --git a/win32/php_stdint.h b/win32/php_stdint.h index 574f8e25f3..6167596f46 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -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 ]