From owner-freebsd-questions Mon Apr 3 15:32:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gta.com (gw.gta.com [199.120.225.5]) by hub.freebsd.org (Postfix) with ESMTP id CDB5837B835 for ; Mon, 3 Apr 2000 15:32:28 -0700 (PDT) (envelope-from lab@gta.com) Received: from gta.com (GTA internal mail system) by gta.com id SAA95678; Mon, 3 Apr 2000 18:37:41 -0400 (EDT) Date: Mon, 3 Apr 2000 18:37:41 -0400 (EDT) Message-Id: <200004032237.SAA95678@gta.com> From: Larry Baird To: freebsd-questions@freebsd.org Cc: "Thimble Smith" Subject: Re: __FreeBSD__, BSD, _bsd, ? X-Newsgroups: freebsd.questions In-Reply-To: <20000403173944.C77729@threads.polyesthetic.msg> Organization: Global Technology Associates, Inc. User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.4-STABLE (i386)) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <20000403173944.C77729@threads.polyesthetic.msg> you wrote: > Hi. I'm trying to port some code that uses bzero(). I want to > do something like: > #ifdef __FreeBSD__ > #include > #endif > But __FreeBSD__ is too specific; it should be for any BSD. What > is the right symbol to use? I could have sworn I saw a doc on > this in /usr/share/doc, but I can't find it at all. I looked at > the handbook and tried searching, but didn't turn up anything. #include #ifdef BSD #include #endif -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message