diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2021-08-07 05:37:30 +0000 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2021-08-07 05:37:30 +0000 |
commit | ed017e10f9c21b69ede1346e97f2ff0333d5465e (patch) | |
tree | aa720f19eec20bba51d0c06c81a9b2af14eac709 | |
parent | 69fdca480cb661f61bbaf64bcb91ca9ee4e188d7 (diff) | |
parent | 3ee18ffc28be480b1c8bfb072f73a991734b3c25 (diff) |
Merge branch 'STRNDUP-bug' into 'master'
Added extra check for HAVE_STRNDUP in Win32 Mingw Meson build
See merge request cairo/cairo!226
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5ddf7868b..f3ff3b4b8 100644 --- a/meson.build +++ b/meson.build @@ -115,7 +115,6 @@ check_funcs = [ 'funlockfile', 'getline', 'link', - 'strndup', 'fork', 'waitpid', 'raise', @@ -820,6 +819,8 @@ foreach name : check_funcs endif endforeach +conf.set('HAVE_STRNDUP', cc.has_function('strndup', prefix : '#include <string.h>')) + pthread_c_args = [] pthread_link_args = [] |