1 Per Peter Tribble, Setting __STDC_VERSION__ to a nonsense value won't lead to a successful outcome.
2 See also https://github.com/numpy/numpy/issues/25366
4 --- numpy-2.0.2/numpy/_core/meson.build.orig
5 +++ numpy-2.0.2/numpy/_core/meson.build
8 # Same as NPY_CXX_FLAGS (TODO: extend for what ccompiler_opt adds)
9 cpp_args_common = c_args_common + [
10 - '-D__STDC_VERSION__=0', # for compatibility with C headers
12 if cc.get_argument_syntax() != 'msvc'