From: Derick Rethans Date: Fri, 13 Jul 2007 17:49:18 +0000 (+0000) Subject: - Let's always use the macro as llabs() requires c99. X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56828aba9adca8ab0386c7cd0ed75978b97bf9a6;p=php - Let's always use the macro as llabs() requires c99. --- diff --git a/ext/date/lib/timelib.c b/ext/date/lib/timelib.c index 6b2fb81327..6dd86e1034 100644 --- a/ext/date/lib/timelib.c +++ b/ext/date/lib/timelib.c @@ -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() {