Open omnidan opened 10 years ago
So it won't work on OS X without rewriting? That's a shame. You could check for #ifdef __APPLE__
though. The thing is, it doesn't say anywhere that it only works on Linux. So it probably doesn't work on Windows either, I guess?
read
and write
is more portable. #ifdef
just adds more complexity.
On OS X, building nope.c fails for me with:
gcc --version output: