summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAndrew Nelson <andyfaff@gmail.com>2023-04-08 09:53:26 +1000
committerAndrew Nelson <andyfaff@gmail.com>2023-04-08 09:53:26 +1000
commitc9229a3069cb698b0cbae5f7267566a8cb5d11d9 (patch)
treea7b798fc66572171efb46eef66d126c877dbbf3f /setup.py
parentd79fe4364c34c3f99c101e1c27824203c78e6dea (diff)
downloadnumpy-c9229a3069cb698b0cbae5f7267566a8cb5d11d9.tar.gz
BLD: add static to std_c_flags test program (see gh23538)
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index edd8c4d6d..d06677ae1 100755
--- a/setup.py
+++ b/setup.py
@@ -293,7 +293,7 @@ def get_build_overrides():
).get(compiler.compiler_type, ['-std=c99'])
if not flags_is_required(compiler, False, flags, textwrap.dedent('''
- inline int test_inline() { return 0; }
+ inline static int test_inline() { return 0; }
int main(void)
{ return test_inline(); }
''')):