diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 08f24f53933..5d6ee648f24 100644 --- a/meson.build +++ b/meson.build @@ -1090,6 +1090,9 @@ elif host_machine.system() == 'windows' '-D_UCRT_NOISY_NAN', # https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907?viewtype=all ] else + # MINGW also accept _GNU_SOURCE + pre_args += '-D_GNU_SOURCE' + # When the target is not (mingw with ucrt) # NOTE: clang's stddef.h are conflict with mingw or ucrt's stddef.h # So do not include headers that defined in clang for detecting |