diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-09-27 20:04:59 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-09-27 20:32:09 +0200 |
commit | 247b4500d9505678933833301971bd56037bd33f (patch) | |
tree | ca951480041ec568eb427b82dd5d5769a715466d /numpy/distutils/command/autodist.py | |
parent | 6fbbd7f248bfa808bfe659685cf31d79a2f897f9 (diff) | |
download | numpy-247b4500d9505678933833301971bd56037bd33f.tar.gz |
BUG: fix wrong gcc version check
probably irrelevant by now, but emits a warning during compilation.
Diffstat (limited to 'numpy/distutils/command/autodist.py')
-rw-r--r-- | numpy/distutils/command/autodist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/autodist.py b/numpy/distutils/command/autodist.py index 8e70b4552..1b9b1dd57 100644 --- a/numpy/distutils/command/autodist.py +++ b/numpy/distutils/command/autodist.py @@ -35,8 +35,8 @@ def check_compiler_gcc4(cmd): int main() { -#ifndef __GNUC__ && (__GNUC__ >= 4) -die in an horrible death +#if (! defined __GNUC__) || (__GNUC__ < 4) +#error gcc >= 4 required #endif } """ |