error #2048: Undeclared identifier 'EINTR'.

Started by cane, November 10, 2005, 04:22:27 PM

Previous topic - Next topic

cane

Souldn't EINTR be defined in errno.h?
I can't find that constant. Is there a way to solve the problem?
Thanks, bye.

Pelle

EINTR isn't part of standard C. It's probably from Posix, and I'm not sure it's very useful on Windows. The solution depends on what the problem is: if you just want to compile, define the symbol somewhere yourself. If you want it to actually be triggered, it's harder...

Pelle
/Pelle