Re: Pretty please: no more lower-case macros !!!

看板DFBSD_bugs作者時間21年前 (2005/01/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/14 (看更多)
On Thu, 06 Jan 2005 11:03:37 +0000 Adrian Bocaniciu <a.bocaniciu@computer.org> wrote: > Simon 'corecode' Schubert wrote: > > If you want to be portable, #define POSIX_SOURCE or what it is > > called and don't include sys/* files. > > I do not refer to new code, but to the huge number of existing > *BSD ports. Most of these ports *MUST* include sys/*, net/* etc. > headers, as there is no other way to accomplish their functions. Then they will always be non-portable and will always risk breaking (until those headers are standardized by some body.) This has nothing really to do with macros; this is because C doesn't have namespaces. -Chris
文章代碼(AID): #11tNqF00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #11tNqF00 (DFBSD_bugs)