This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FreeBSD 4.0
> |> #if (defined(__unix__) || defined(unix)) && !defined(USG)
> ^^^^ ^^^
> |> #include <sys/param.h>
/* :-) */
#include "config.h"
#ifdef HAVE_PARAM_H
#include <sys/param.h>
#endif
> |> #if (defined(BSD) && (BSD >= 199306))
> ^^^ ^^^
>
> GCC cannot use any of the marked identifiers because they are in the
> application's namespace.
Reguardless, "BSD" is the approved way under BSD. If an application
tries to define it, they will typically have problems compiling under
BSD.
Anyway GCC already uses symbols in the applications namespace:
find . -type f | xargs grep 'f i386'
./gcc/libgcc2.c:#ifdef i386
./gcc/config/i386/xm-i386.h:#ifndef i386
--
-- David (obrien@NUXI.com)