diff options
| author | David Cournapeau <cournape@gmail.com> | 2010-07-29 01:38:14 +0000 |
|---|---|---|
| committer | David Cournapeau <cournape@gmail.com> | 2010-07-29 01:38:14 +0000 |
| commit | fa445b9f5b04c11bc3efacca28cc4c42d1ff091a (patch) | |
| tree | c0fd748bf07f5daacee75a7c8c653b032247c205 /numpy/core/SConscript | |
| parent | 1c02b2038a902dedc3d26ebc278dac8d4cb7f12f (diff) | |
| download | numpy-fa445b9f5b04c11bc3efacca28cc4c42d1ff091a.tar.gz | |
BUG: look for endian.h.
We should use this header in npy_endian.h if available.
Diffstat (limited to 'numpy/core/SConscript')
| -rw-r--r-- | numpy/core/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index b030c0044..732374f8f 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -78,6 +78,10 @@ check that you have he platform SDK. You may also use unsupported cflags. Configuration error log says: \n\n%s""" % ''.join(errmsg) Exit(-1) +st = config.CheckHeader("endian.h") +if st: + numpyconfig_sym.append(('DEFINE_NPY_HAVE_ENDIAN_H', '#define NPY_HAVE_ENDIAN_H 1')) + def check_type(type, include = None): st = config.CheckTypeSize(type, includes = include) type = type.replace(' ', '_') |
