Merge pull request #1784 from radarhere/pow

Removed powf support for older Python versions
This commit is contained in:
Hugo 2016-04-03 12:55:33 +03:00
commit c099e0168e

View File

@ -24,13 +24,6 @@
#define MAX_INT32 2147483647.0
#define MIN_INT32 -2147483648.0
#if defined(_MSC_VER) && _MSC_VER < 1500
/* python 2.1/2.2/2.3 = VC98 = VER 1200 */
/* python 2.4/2.5 = VS.NET 2003 = VER 1310 */
/* python 2.6 = VS 9.0 = VER 1500 */
#define powf(a, b) ((float) pow((double) (a), (double) (b)))
#endif
#define UNOP(name, op, type)\
void name(Imaging out, Imaging im1)\
{\