svn commit: r360126 - head/sys/dev/evdev
Conrad Meyer
cem at freebsd.org
Mon Apr 20 18:13:40 UTC 2020
Hi Niclas,
On Mon, Apr 20, 2020 at 9:57 AM Niclas Zeising <zeising at 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
More information about the svn-src-all
mailing list