summaryrefslogtreecommitdiff
path: root/numpy/distutils/conv_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/conv_template.py')
-rw-r--r--numpy/distutils/conv_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/conv_template.py b/numpy/distutils/conv_template.py
index dfd5585ed..37baf47b7 100644
--- a/numpy/distutils/conv_template.py
+++ b/numpy/distutils/conv_template.py
@@ -186,7 +186,7 @@ def resolve_includes(source):
def process_file(source):
lines = resolve_includes(source)
- sourcefile = os.path.normpath(source).replace("\\","\\\\")
+ sourcefile = os.path.normcase(source).replace("\\","\\\\")
return ('#line 1 "%s"\n%s'
% (sourcefile, process_str(''.join(lines))))