[PATCH] Don't use undefined macros

Jakub Jelinek jakub@redhat.com
Fri Jan 30 16:29:00 GMT 2009


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



More information about the Libc-alpha mailing list