summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-05-04 21:03:20 +0000
committerPierre Joye <pajoye@php.net>2009-05-04 21:03:20 +0000
commitffca50ca0de92c4085aa74778e9ca40d6d577d6a (patch)
tree8e300c298e19b05778e679432fc608c349cc71e6
parentc48241a569497fcd93cc17236dfaf63c41595cd4 (diff)
downloadphp-git-ffca50ca0de92c4085aa74778e9ca40d6d577d6a.tar.gz
- revert last commit and fix inline
-rw-r--r--win32/php_stdint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/php_stdint.h b/win32/php_stdint.h
index 6167596f46..6eb8ce48f0 100644
--- a/win32/php_stdint.h
+++ b/win32/php_stdint.h
@@ -238,7 +238,8 @@ typedef uint64_t uintmax_t;
#define INTMAX_C INT64_C
#define UINTMAX_C UINT64_C
-#define llabs(i) (i >= 0? i : -i)
+static __inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
+
#endif // __STDC_CONSTANT_MACROS ]