commit | 8f22adc4230f07980a318ad1662fba5af0c131c1 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jul 17 17:02:16 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jul 20 18:25:48 2015 +0100 |
tree | 5740e0942db90a7fbe0c1aa65480399460edef0a | |
parent | 52c22e6e64a94cc701d86587d32cd3822ac5c293 [diff] |
check for and use C library provided strlcpy and strlcat The musl-libc library provides implementations of strlcpy and strlcat, so introduce a feature check for it and only use the kvmtool implementation if there is no library support for it. This avoids clashes with the public definition. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>