alsactl: add define to compile with glibc 2.38 48/310448/1 accepted/tizen_base_asan accepted/tizen/base/20240503.022047 accepted/tizen/base/20240506.212441 accepted/tizen/base/asan/20240507.220658 accepted/tizen/base/toolchain/20240503.130547 accepted/tizen/base/x/20240503.083732
authorRudi Heitbaum <rudi@heitbaum.com>
Sat, 22 Jul 2023 15:36:09 +0000 (15:36 +0000)
committerDongkyun Son <dongkyun.s@samsung.com>
Mon, 29 Apr 2024 07:53:43 +0000 (16:53 +0900)
commit60803df3e93d91864ba98cdfc99e233a8fbc07dd
tree761460ec0ef5df3ae9994eee4f2466fc4a7ca567
parent1f6a37e443ab4d7f31677912c90b2d2262cf7759
alsactl: add define to compile with glibc 2.38

strlcat and strlcpy have been added to glibc 2.38.
update the defines to use the glibc versions, and not conflict with
string.h.

ref:
- https://sourceware.org/git/?p=glibc.git;a=commit;h=454a20c8756c9c1d55419153255fc7692b3d2199

cherry-picked from d6a71bfbde9e1710743d3a446c6ea3b41c45234e

Fixes: https://github.com/alsa-project/alsa-utils/pull/225
Change-Id: Ibd83a79a017f7af2329496d49f9f0c44b24801f3
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/init_sysdeps.c