Some time ago, I ported a linux program that was using clock_nanosleep(). I see now that the extra code I’d put in isn’t needed anymore in 11-stable, as it appears this call was added in 11.1. My question is, to properly protect these changes, what is the best way to know at compile time, either (a) that that call is in libc, or (b) that I’m compiling on FreeBSD 11.1 or later ?
Thanks. - Chris
signature.asc
Description: Message signed with OpenPGP