summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-05-04 17:10:26 +0000
committerPierre Joye <pajoye@php.net>2009-05-04 17:10:26 +0000
commit50daa8c6d42da46c78d2a4e78b03366c08242bee (patch)
tree9744a6af882d2b009d7554e52206b2cd07a5ea3a /win32
parent33a27b036b58a55260fcb372106e46a0d40ef736 (diff)
downloadphp-git-50daa8c6d42da46c78d2a4e78b03366c08242bee.tar.gz
- add llabs
Diffstat (limited to 'win32')
-rw-r--r--win32/php_stdint.h2
1 files changed, 2 insertions, 0 deletions
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 ]