cvs: php-src(PHP_5_3) /win32 php_stdint.h
| From: | Pierre-Alain Joye | Date: | Mon, 04 May 2009 21:03:20 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /win32 php_stdint.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57539@lists.php.net to get a copy of this message | ||
pajoye Mon May 4 21:03:20 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/win32 php_stdint.h
Log:
- revert last commit and fix inline
http://cvs.php.net/viewvc.cgi/php-src/win32/php_stdint.h?r1=1.1.2.6&r2=1.1.2.7&diff_format=u
Index: php-src/win32/php_stdint.h
diff -u php-src/win32/php_stdint.h:1.1.2.6 php-src/win32/php_stdint.h:1.1.2.7
--- php-src/win32/php_stdint.h:1.1.2.6 Mon May 4 20:31:02 2009
+++ php-src/win32/php_stdint.h Mon May 4 21:03:20 2009
@@ -238,7 +238,8 @@
#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 ]