From owner-freebsd-questions Mon Apr 3 16: 3:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id B6B0C37BC52 for ; Mon, 3 Apr 2000 16:03:11 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id AAA25159; Tue, 4 Apr 2000 00:42:28 +0200 (CEST) Message-Id: <200004032242.AAA25159@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: "Thimble Smith" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: __FreeBSD__, BSD, _bsd, ? Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 03 Apr 2000 17:39:44 EDT." <20000403173944.C77729@threads.polyesthetic.msg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Apr 2000 00:42:28 +0200 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Thimble Smith" writes: >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. > BSD is probably best. It's defined in param.h on both FreeBSD and NetBSD. I don't know about OpenBSD, but it's probably in there too. --- Gary Jennejohn / garyj@muc.de gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message