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:
Christoph M. Becker 2017-11-29 16:53:11 +01:00
commit f166ea9c09

View File

@ -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