diff options
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 9c4725e41..d51c3110b 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -390,6 +390,8 @@ int main(int argc, char **argv) def generate_numpyconfig_code(target): """Return the source code as a string of the code to generate the numpyconfig header file.""" + if sys.platform == 'win32': + target = target.replace('\\','\\\\') # Config symbols to prepend prepends = [('NPY_SIZEOF_SHORT', 'SIZEOF_SHORT'), ('NPY_SIZEOF_INT', 'SIZEOF_INT'), |