]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/snmp.c
Switch to _WIN32 for Windows test.
[thirdparty/cups.git] / cups / snmp.c
index 7958b93e557e542dd28595d9ca28ef68765a1f2a..8437528dd0dd187ded93788a9a9b1b7ae84a7801 100644 (file)
@@ -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 */
 
    /*