tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [richard.henderson%linaro.org@localhost: Re: [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap()]



> Date: Wed, 18 Jan 2023 13:33:37 +0100
> From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
> 
> Oops, wrong list, sorry. Although its supposed to compile on NetBSD 9.3 I
> still wonder if this really is a good idea.

Should be fine as long as the code is built with a standard feature
macro like _POSIX_C_SOURCE=200809L, and doesn't define _NETBSD_SOURCE.

Trouble arises only if you ask for the NetBSD API (or ask for nothing
so you get the NetBSD API by default) and then try to redefine parts
of it.  Nothing is different in 9.3 specifically about this.


Home | Main Index | Thread Index | Old Index