Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

看板FB_current作者時間14年前 (2011/11/23 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串22/24 (看更多)
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"
文章代碼(AID): #1Eo_YoFz (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 22 之 24 篇):
文章代碼(AID): #1Eo_YoFz (FB_current)