]> granicus.if.org Git - php/commitdiff
- Fixed Bug #51168 (fails to compile with Sun Studio)
authorSriram Natarajan <srinatar@php.net>
Tue, 8 Jun 2010 21:23:48 +0000 (21:23 +0000)
committerSriram Natarajan <srinatar@php.net>
Tue, 8 Jun 2010 21:23:48 +0000 (21:23 +0000)
 # C99 standard supports inline keyword and supported by
 # by major compilers like GCC, HP C, IBM C and Sun C

ext/date/php_date.c

index c974846a73f9b9eabc95558bd212f52b42e87f82..87403be5251a47543bea36ca7bc1bb75c5cd8161 100644 (file)
@@ -36,7 +36,7 @@ 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; }
+static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
 #endif
 
 /* {{{ arginfo */