From: Pierre Joye Date: Mon, 4 May 2009 20:32:33 +0000 (+0000) Subject: - a macro will just do it too X-Git-Tag: php-5.4.0alpha1~191^2~3756 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40aa81ffb2d5a8bff95da2b1d7af7e78d5b1fe72;p=php - a macro will just do it too --- diff --git a/win32/php_stdint.h b/win32/php_stdint.h index ea43c64627..ed53e75355 100644 --- a/win32/php_stdint.h +++ b/win32/php_stdint.h @@ -264,7 +264,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 ]