This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't use undefined macros


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]