Pelles C forum

Pelles C => General discussions => Topic started by: cane on November 10, 2005, 04:22:27 PM

Title: error #2048: Undeclared identifier 'EINTR'.
Post by: cane on November 10, 2005, 04:22:27 PM
Souldn't EINTR be defined in errno.h?
I can't find that constant. Is there a way to solve the problem?
Thanks, bye.
Title: Re: error #2048: Undeclared identifier 'EINTR'.
Post by: Pelle on November 10, 2005, 10:34:24 PM
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