Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers
Hi Ed,
2011/11/22 Ed Schouten <ed@80386.nl>:
>> +#undef __FreeBSD_kernel__
>> +#define __FreeBSD_kernel__
>
> So why not remove the #undef and not let the compiler define it at all?
Well I have no objection if the #undef is removed.
I don't understand why you consider it a problem though. It's not
terribly useful but if compilers can opt in and define it (usually as
an empty macro), this doesn't hurt either AFAICT. The problem I
described before was about compilers being forced to provide a number.
Anyhow, I don't think it makes a big difference.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 22 之 24 篇):