derick          Fri Jul 13 17:49:18 2007 UTC

  Modified files:              
    /php-src/ext/date/lib       timelib.c 
  Log:
  - Let's always use the macro as llabs() requires c99.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timelib.c?r1=1.15&r2=1.16&diff_format=u
Index: php-src/ext/date/lib/timelib.c
diff -u php-src/ext/date/lib/timelib.c:1.15 php-src/ext/date/lib/timelib.c:1.16
--- php-src/ext/date/lib/timelib.c:1.15 Fri Jul 13 12:48:47 2007
+++ php-src/ext/date/lib/timelib.c      Fri Jul 13 17:49:18 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: timelib.c,v 1.15 2007/07/13 12:48:47 rrichards Exp $ */
+/* $Id: timelib.c,v 1.16 2007/07/13 17:49:18 derick Exp $ */
 
 #include "timelib.h"
 #include <ctype.h>
@@ -28,11 +28,7 @@
                m = NULL;       \
        }                       \
 
-#if defined(_MSC_VER)
-       #define TIMELIB_LLABS(y) y < 0 ? (y * -1) : y
-#else
-       #define TIMELIB_LLABS(y) llabs(y)
-#endif
+#define TIMELIB_LLABS(y) (y < 0 ? (y * -1) : y)
 
 timelib_time* timelib_time_ctor()
 {

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

Reply via email to