Subject: Re: CVS commit: src/common/lib/libprop
To: None <source-changes@netbsd.org>
From: Jed Davis <jdev@panix.com>
List: source-changes
Date: 10/17/2006 20:02:01
Jason Thorpe <thorpej@shagadelic.org> writes:
> On Oct 17, 2006, at 4:18 PM, Jed Davis wrote:
>
>> Alan Barrett <apb@cequrux.com> writes:
>>
>>> On Thu, 12 Oct 2006, Jason R Thorpe wrote:
>>>> Modified Files:
>>>> src/common/lib/libprop: prop_rb.c
>>>
>>> +#ifndef __predict_false
>>> +#define __predict_false(x) (x)
>>> +#endif
>>
>> Um... won't that ifdef fail to notice the builtin, as it's not a
>> preprocessor macro?
>
> __predict_false() IS a CPP macro, defined in the NetBSD <sys/cdefs.h>.
Sorry about that; I'd just checked `gcc -x c -dM -E - < /dev/null`
rather than any headers, because somehow I was under the impression
that it was a builtin despite the absence of "builtin" in its name.
Which still doesn't make much sense. I blame insufficient caffeine.
--
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l)))))) (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k))))))) '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))