diff options
Diffstat (limited to 'cups/snmp.c')
-rw-r--r-- | cups/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/snmp.c b/cups/snmp.c index 7958b93e..8437528d 100644 --- a/cups/snmp.c +++ b/cups/snmp.c @@ -395,11 +395,11 @@ _cupsSNMPRead(int fd, /* I - SNMP socket file descriptor */ ready = select(fd + 1, &input_set, NULL, NULL, &stimeout); } -# ifdef WIN32 +# ifdef _WIN32 while (ready < 0 && WSAGetLastError() == WSAEINTR); # else while (ready < 0 && (errno == EINTR || errno == EAGAIN)); -# endif /* WIN32 */ +# endif /* _WIN32 */ #endif /* HAVE_POLL */ /* |