]> granicus.if.org Git - php/commitdiff
- revert last commit and fix inline
authorPierre Joye <pajoye@php.net>
Mon, 4 May 2009 21:03:20 +0000 (21:03 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 4 May 2009 21:03:20 +0000 (21:03 +0000)
win32/php_stdint.h

index 6167596f46ad1ffe989ec2036d4f93309c34e1a6..6eb8ce48f0a496cd9a2ebdf03d44798fe43b31be 100644 (file)
@@ -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 ]