diff options
Diffstat (limited to 'numpy/distutils/command/autodist.py')
-rw-r--r-- | numpy/distutils/command/autodist.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/command/autodist.py b/numpy/distutils/command/autodist.py index af53c5104..d5e78963c 100644 --- a/numpy/distutils/command/autodist.py +++ b/numpy/distutils/command/autodist.py @@ -55,6 +55,7 @@ main() #if (! defined __GNUC__) || (__GNUC__ < 4) #error gcc >= 4 required #endif + return 0; } """ return cmd.try_compile(body, None, None) @@ -72,6 +73,7 @@ int %s %s(void*); int main() { + return 0; } """ % (attribute, name) return cmd.try_compile(body, None, None) != 0 |