diff options
| author | David Cournapeau <cournape@gmail.com> | 2009-10-05 07:55:39 +0000 |
|---|---|---|
| committer | David Cournapeau <cournape@gmail.com> | 2009-10-05 07:55:39 +0000 |
| commit | 9a41e774079340e1a8887d9f2310c2458580ec6c (patch) | |
| tree | fd66094903fa7ff08638611c67df130c26a1d2c7 /numpy/core/SConscript | |
| parent | 31de18a3c12a748d4a929fa1d00a056e1d02b892 (diff) | |
| download | numpy-9a41e774079340e1a8887d9f2310c2458580ec6c.tar.gz | |
ENH: configure NPY_INLINE when the header is read, not at build time.
We configured the macro NPY_INLINE (for portable inline) at numpy build
time, but this problematic when a numpy extension is built with a
different compiler than the one used to build numpy itsel (e.g. building
numpy with mingw, but building a numpy extension with MS compiler).
Instead, the macro is defined everytime npy_common.h is read.
Diffstat (limited to 'numpy/core/SConscript')
| -rw-r--r-- | numpy/core/SConscript | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index c60b2e185..0ff3ecbea 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -199,7 +199,6 @@ for f in ["isnan", "isinf", "signbit", "isfinite"]: inline = config.CheckInline() config.Define('inline', inline) -numpyconfig_sym.append(('NPY_INLINE', inline)) if ENABLE_SEPARATE_COMPILATION: |
