Date: Mon, 20 Apr 2020 11:13:27 -0700 From: Conrad Meyer <cem@freebsd.org> To: Niclas Zeising <zeising@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r360126 - head/sys/dev/evdev Message-ID: <CAG6CVpUomYWv9m9m259J98wV=MtHR9JcK_znjkROqbGW7o92vw@mail.gmail.com> In-Reply-To: <d2d4fcc8-1b99-a15c-8cd9-ef127905f7da@freebsd.org> References: <202004201617.03KGHHj7074077@repo.freebsd.org> <20200420113957.50d41308@titan.knownspace> <d2d4fcc8-1b99-a15c-8cd9-ef127905f7da@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Niclas, On Mon, Apr 20, 2020 at 9:57 AM Niclas Zeising <zeising@freebsd.org> wrote: > > On 2020-04-20 18:39, Justin Hibbits wrote: > > For just powerpc32, > > you should have: > > > > #if defined(__powerpc__) && !defined(__powerpc64__) > > Ok, I wasn't aware of that, I'll fix it. FYI, arch(7) is a great resource here (thanks, emaste@): """ Architecture-specific macros: Architecture Predefined macros ... powerpc __powerpc__ powerpcspe __powerpc__, __SPE__ powerpc64 __powerpc__, __powerpc64__ """ For other predefined macros not covered in arch(7), I highly recommend https://sourceforge.net/p/predef/wiki/Home/ . Best regards, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUomYWv9m9m259J98wV=MtHR9JcK_znjkROqbGW7o92vw>