summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-09-21 11:50:32 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-09-21 11:50:32 +0000
commit6584cd2db2a6dd5e249e3a97ca448c945fe71e2d (patch)
tree4da6f9e3f55e47f69febcb5bcce8097e825b6a53 /numpy/distutils/command/config.py
parent65cb6763a12d0a0697f2f2008188a706e3c7c12a (diff)
downloadnumpy-6584cd2db2a6dd5e249e3a97ca448c945fe71e2d.tar.gz
define -> pragma, stupid mistake.
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r--numpy/distutils/command/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py
index e86269138..5170bfcb0 100644
--- a/numpy/distutils/command/config.py
+++ b/numpy/distutils/command/config.py
@@ -131,7 +131,7 @@ int main()
# avoid build error because the intrisinc and our 'fake' test
# declaration do not match.
body.append("#ifdef _MSC_VER")
- body.append("#define function(%s)" % func)
+ body.append("#pragma function(%s)" % func)
body.append("#endif")
body.append("int main (void) {")
if call:
@@ -184,7 +184,7 @@ int main()
# Handle MS intrinsics. See check_func for more info.
body.append("#ifdef _MSC_VER")
for func in funcs:
- body.append("#define function(%s)" % func)
+ body.append("#pragma function(%s)" % func)
body.append("#endif")
body.append("int main (void) {")