Skip to content

Commit 4500357

Browse files
author
Sriram Natarajan
committed
- Fixed Bug #51168 (fails to compile with Sun Studio)
# C99 standard supports inline keyword and supported by # by major compilers like GCC, HP C, IBM C and Sun C
1 parent 6134436 commit 4500357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static __inline __int64 php_date_llabs( __int64 i ) { return i >= 0? i: -i; }
3636
#elif defined(__GNUC__) && __GNUC__ < 3
3737
static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
3838
#else
39-
static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
39+
static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
4040
#endif
4141

4242
/* {{{ arginfo */

0 commit comments

Comments
 (0)