24 Jan
2003
24 Jan
'03
4:52 p.m.
IIRC I tried but gcc then complained I have two case statements in my switch with the same value.
Yes, that's correct. You'd probably need to add something along the lines of:
#ifndef __GNUC__ EWOULDBLOCK: #else EAGAIN: #endif
Why not #if EWOULDBLOCK != EAGAIN case EAGAIN: #endif case EWOULDBLOCK: -andrey