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

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


Branch: refs/heads/master
Home:   http://github.com/numpy/numpy

Commit: 5a0ab023d8f81ccf83fe6adf7983d7631021cb62
    http://github.com/numpy/numpy/commit/5a0ab023d8f81ccf83fe6adf7983d7631021cb62
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.





More information about the Numpy-svn mailing list