Skip to content

Commit

Permalink
5.2.13RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Feb 12, 2010
2 parents 57b3754 + f11c2a2 commit 0da769e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ext/date/php_date.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
#include <time.h>

#ifdef PHP_WIN32
# include "win32/php_stdint.h"
#endif

static __inline __int64 php_date_llabs( __int64 i ) { return i >= 0? i: -i; }
#elif defined(__GNUC__) && __GNUC__ < 3
static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
#else
static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
#endif

/* {{{ arginfo */
static
Expand Down

0 comments on commit 0da769e

Please sign in to comment.