From owner-freebsd-questions Mon Apr 3 14:40:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hcisp.net (Stargate.hcisp.net [208.60.89.18]) by hub.freebsd.org (Postfix) with SMTP id C263637B7F6 for ; Mon, 3 Apr 2000 14:40:03 -0700 (PDT) (envelope-from tim@mysql.com) Received: (qmail 30018 invoked from network); 3 Apr 2000 21:48:33 -0000 Received: from modem1.hcisp.net (HELO threads.polyesthetic.msg) (208.60.89.67) by stargate.hcisp.net with SMTP; 3 Apr 2000 21:48:33 -0000 Received: (qmail 77916 invoked by uid 1001); 3 Apr 2000 21:39:44 -0000 From: "Thimble Smith" Date: Mon, 3 Apr 2000 17:39:44 -0400 To: freebsd-questions@freebsd.org Subject: __FreeBSD__, BSD, _bsd, ? Message-ID: <20000403173944.C77729@threads.polyesthetic.msg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Thanks, Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message