Re: atomic cas, again; PHP this time
Andreas Schwab dixit:
>What if the syscall doesn't exist?
On the source side, I’m doing an && defined(__linux__).
On the packaging side, this has pre-dependencies on a
libc6 with TLS, so it will exist.
But for people compiling this separately, that may not
be enough, indeed.
How about dropping the #ifndef for the syscall number?
“Having a smoking section in a restaurant is like having
a peeing section in a swimming pool.”
-- Edward Burr