]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/snmp.c
Migrate Windows conditional code to _WIN32 define.
[thirdparty/cups.git] / cups / snmp.c
index 1e1fa3eeffa880e7b499db0720b5e5b4d1b12e94..07c18c48fbedfa5bbee855483e0fccce57ef14dd 100644 (file)
@@ -390,11 +390,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 */
 
    /*