This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 6/6] Provide assert_perror when it's not defined
- From: Petr Machata <pmachata at gmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 04 May 2015 07:53:27 +0200
- Subject: Re: [PATCH 6/6] Provide assert_perror when it's not defined
Max Filippov <jcmvbkbc@gmail.com> writes:
> assert_perror is a GNU extension and is not provided by uClibc. Provide
> definition when that macro is not available.
It looks like it would pay off to have a dedicated header file for this
macro.
Similarly in the 3/6 patch for utimes/futimes, it would pay off to
extract that ifdef/else/endif logic to an inline function in some header
file.
Thanks,
Petr