diff options
author | Pierre Joye <pajoye@php.net> | 2009-05-04 20:31:02 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-05-04 20:31:02 +0000 |
commit | e274a016200cff64e76a44b14a951fa150ea9d34 (patch) | |
tree | 4f7b63c28c001488382405a18fb2039e50700387 /win32/php_stdint.h | |
parent | 53bb83ab8cbc376085722af6e7d2667f1ea94970 (diff) | |
download | php-git-e274a016200cff64e76a44b14a951fa150ea9d34.tar.gz |
- a macro will just do it too
Diffstat (limited to 'win32/php_stdint.h')
-rw-r--r-- | win32/php_stdint.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 ] |