[Numpy-svn] [numpy/numpy] 8e0d29: BUG: core: use #if check instead of #ifdef in chec...

noreply at github.com noreply at github.com
Wed Oct 6 15:26:26 EDT 2010


Branch: refs/heads/maintenance/1.5.x
Home:   http://github.com/numpy/numpy

Commit: 8e0d299bddaa3eb9dda157bd336f611428e4fad3
    http://github.com/numpy/numpy/commit/8e0d299bddaa3eb9dda157bd336f611428e4fad3
Author: Pauli Virtanen <pav at iki.fi>
Date:   2010-10-06 (Wed, 06 Oct 2010)

Changed paths:
  M numpy/core/setup.py
  M numpy/distutils/command/config.py

Log Message:
-----------
BUG: core: use #if check instead of #ifdef in checking HAVE_DECL_ISFINITE (ticket #1625)

Python #defines HAVE_DECL_ISFINITE 0 when the function is not available,
so the proper check to do is #if.

(cherry picked from commit 5a0ab023d8f81ccf83fe6adf7983d7631021cb62)





More information about the Numpy-svn mailing list