I have some code using the select function that compiles and runs fine in Linux. But I’m trying to port it to Windows and am getting this error I don’t know how to deal with. It says
STDIN_FILENO: undeclared identifier
I haven’t been able to come up with or find any solution for this. Is there a way to make STDIN_FILENO work in Windows?
STDIN_FILENO is a definition of standard POSIX,
Try 0 !