On Tue, Sep 18, 2012 at 11:16 AM, Richard Guenther <richard.guent...@gmail.com> wrote:
>> CentOS 5.8 uses glibc version 2.5 that needs _GNU_SOURCE defined to use >> strnlen. > > Hm, shouldn't libiberty contain a xstrnlen? I bet strnlen isn't available > everywhere. I didn't find it in the sources. OTOH, mmapio.c already defines _GNU_SOURCE for some reason, so I just follow this approach. Uros.