#includes and #defined

Erich Dollansky freebsd.ed.lists at sumeritec.com
Fri Aug 10 00:28:28 UTC 2018


Hi,

On Fri, 10 Aug 2018 08:01:42 +0800
blubee blubeeme <gurenchan at gmail.com> wrote:

> What's the proper way to define and include FreeBSD amd64 in GNU
> Makefiles
> 
> Do we define FreeBSD as x86_64 or amd64 also is it __FreeBSD__,
> FreeBSD__, or __FreeBSD
> 
> I've seen all of the above looking through different projects.

clang defines '__FreeBSD__'

Erich


More information about the freebsd-current mailing list