This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Don't use undefined macros
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 30 Jan 2009 17:18:47 +0100
- Subject: Re: [PATCH] Don't use undefined macros
- References: <4981C7C9.3010906@codesourcery.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jan 29, 2009 at 03:14:17PM +0000, Andrew Stubbs wrote:
> It's possible to have neither FUTEX_CLOCK_REALTIME nor
> __ASSUME_FUTEX_CLOCK_REALTIME defined. In this case nptl/init.c fails to
> compile.
How is it possible? Every nptl target is supposed to define it in
lowlevellock.h. If you are using some targets for which lowlevellock.h
hasn't been updated, you should update it rather than doing workarounds in a
wrong place.
Jakub