Re: [Qemu-devel] [libfdt][PATCH v4] implement strnlen for systems that need it

2017-10-27 Thread David Gibson
On Wed, Oct 25, 2017 at 09:13:46PM -0400, John Arbuckle wrote: > Prior the Mac OS 10.7, the function strnlen() was not available. This patch > implements strnlen() on Mac OS X versions that are below 10.7. > > Signed-off-by: John Arbuckle Applied, thanks. > --- > v4 changes: > - Added check for

[Qemu-devel] [libfdt][PATCH v4] implement strnlen for systems that need it

2017-10-25 Thread John Arbuckle
Prior the Mac OS 10.7, the function strnlen() was not available. This patch implements strnlen() on Mac OS X versions that are below 10.7. Signed-off-by: John Arbuckle --- v4 changes: - Added check for definition of MAC_OS_X_VERSION_10_7 - Renamed strnlen to fdt_strnlen - Added macro that defines