svn commit: r360126 - head/sys/dev/evdev

Niclas Zeising zeising at freebsd.org
Mon Apr 20 18:37:49 UTC 2020


On 2020-04-20 20:13, Conrad Meyer wrote:
> 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/ .
> 

I'll remember that for next time, thanks!
In any case, this should be fixed with r360132, sorry about that.
Regards
-- 
Niclas Zeising


More information about the svn-src-head mailing list