diff options
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 643eb8e31..930c6b938 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -447,9 +447,7 @@ def configuration(parent_package='',top_path=None): win32_checks(moredefs) # C99 restrict keyword - restrict = config_cmd.check_restrict() - if restrict: - moredefs.append(('NPY_RESTRICT', restrict)) + moredefs.append(('NPY_RESTRICT', config_cmd.check_restrict())) # Inline check inline = config_cmd.check_inline() |