diff options
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 } """ |