pajoye Mon May  4 20:32:33 2009 UTC

 Modified files:
   /php-src/win32 php_stdint.h
 Log:
 - a  macro will just do it too

http://cvs.php.net/viewvc.cgi/php-src/win32/php_stdint.h?r1=1.5&r2=1.6&diff_format=u
Index: php-src/win32/php_stdint.h
diff -u php-src/win32/php_stdint.h:1.5 php-src/win32/php_stdint.h:1.6
--- php-src/win32/php_stdint.h:1.5 Mon May  4 17:10:26 2009
+++ php-src/win32/php_stdint.h Mon May  4 20:32:33 2009
@@ -264,7 +264,7 @@
#define INTMAX_C   INT64_C
#define UINTMAX_C  UINT64_C

-static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
+#define llabs(i) (i >= 0? i : -i)

what about multiple evaluation problems? (e.g. llabs(some_function_call()) )

Nuno

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to