Re: [hatari-devel] Hatari Mac freeze with RS232 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
On Samstag, 25. Mai 2019 14:44:32 CEST Eero Tamminen wrote:
> Did you mean FreeBSD with latter?
Hmpf, somehow messed this up, sorry, so once again:
- netbsd (6.1.5): does not have fileno_unlocked, but fileno() does not do
locking
- freebsd (10.1): does locking on fileno(), and has fileno_unlocked()
- openbsd (5.7): does locking on fileno(), but has no fileno_unlocked(). The
non-locking macro version is called __sfileno()
For at least openbsd, there are also newer versions, so things might change
there. I guess the only reliable way is to use some checks during
configuration.