mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Define floorf if system doesn't have it (follow up for 22c48761
)
This commit is contained in:
commit
f166ea9c09
@ -66,6 +66,16 @@ TODO:
|
||||
# include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FLOORF
|
||||
# define HAVE_FLOORF 0
|
||||
#endif
|
||||
#if HAVE_FLOORF == 0
|
||||
# ifndef floorf
|
||||
/* float floorf(float x);*/
|
||||
# define floorf(x) ((float)(floor(x)))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) ((a)<(b)?(a):(b))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user