Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 17:39:44 -0400
From:      "Thimble Smith" <tim@mysql.com>
To:        freebsd-questions@freebsd.org
Subject:   __FreeBSD__, BSD, _bsd, ?
Message-ID:  <20000403173944.C77729@threads.polyesthetic.msg>

next in thread | raw e-mail | index | archive | help
Hi.  I'm trying to port some code that uses bzero().  I want to
do something like:

#ifdef __FreeBSD__
#include <string.h>
#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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000403173944.C77729>