summaryrefslogtreecommitdiff
path: root/numpy/core/SConstruct
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-01-21 05:29:36 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-01-21 05:29:36 +0000
commit7a18c98fcb9466893febf93f0555b18e69d4f8bf (patch)
treec97a75b8c52ae79caf4f3b7cf234105826310121 /numpy/core/SConstruct
parent74d86a81a6c95f2f7843d7f872524c34d8b8224d (diff)
downloadnumpy-7a18c98fcb9466893febf93f0555b18e69d4f8bf.tar.gz
Fixes for config and numpyconfig header generation:
- signal stuff test result was wrongly put in NPY_NOSMP variable in numpyconfig.h header: replaced by correct NPY_NO_SIGNAL - Replace NPY_NO_SIGNAL by a private __NPY_PRIVATE_NO_SIGNAL in config.h, to avoid clash between config.h and numpyconfig.h
Diffstat (limited to 'numpy/core/SConstruct')
-rw-r--r--numpy/core/SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/SConstruct b/numpy/core/SConstruct
index 338ce85fa..1b9509eff 100644
--- a/numpy/core/SConstruct
+++ b/numpy/core/SConstruct
@@ -57,8 +57,8 @@ for type in ('Py_intptr_t', 'PY_LONG_LONG'):
# Checking signal stuff
#----------------------
if is_npy_no_signal():
- numpyconfig_sym.append(('NPY_NOSMP', '1'))
- config.Define('NPY_NOSMP', 1, "define to 1 to disable SMP support ")
+ numpyconfig_sym.append(('NPY_NO_SIGNAL', ''))
+ config.Define('__NPY_PRIVATE_NO_SIGNAL', comment = "define to 1 to disable SMP support ")
#---------------------
# Checking SMP option