cvs: php-src /win32 php_stdint.h
| From: | Pierre-Alain Joye | Date: | Mon, 04 May 2009 17:10:26 +0000 |
| Subject: | cvs: php-src /win32 php_stdint.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57525@lists.php.net to get a copy of this message | ||
pajoye Mon May 4 17:10:26 2009 UTC
Modified files:
/php-src/win32 php_stdint.h
Log:
- add llabs
http://cvs.php.net/viewvc.cgi/php-src/win32/php_stdint.h?r1=1.4&r2=1.5&diff_format=u
Index: php-src/win32/php_stdint.h
diff -u php-src/win32/php_stdint.h:1.4 php-src/win32/php_stdint.h:1.5
--- php-src/win32/php_stdint.h:1.4 Wed Jan 28 10:32:45 2009
+++ php-src/win32/php_stdint.h Mon May 4 17:10:26 2009
@@ -264,6 +264,8 @@
#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 ]