mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
b0d88dd9ff
* [zeromq] Download patch files for GitHub PRs This is needed to have a stable checksum for the patches because GitHub is returning a different checksum for the patches now because the index objects are abbreviated to 9 characters instead of 10 characters, e.g. for patch4311: ```diff + index 24cce83d1..c6d625188 100644 - index 24cce83d11..c6d625188d 100644 ``` Reported at <https://github.com/microsoft/vcpkg/pull/22681#issuecomment-1061312320>. A possible long-term fix is reported to GitHub at <https://github.com/github/feedback/discussions/12531>. * [zeromq] Update version
19 lines
516 B
Diff
19 lines
516 B
Diff
diff --git a/src/windows.hpp b/src/windows.hpp
|
|
index 24cce83d11..c6d625188d 100644
|
|
--- a/src/windows.hpp
|
|
+++ b/src/windows.hpp
|
|
@@ -90,7 +90,6 @@ static inline int poll (struct pollfd *pfd, unsigned long nfds, int timeout)
|
|
#ifndef AI_NUMERICSERV
|
|
#define AI_NUMERICSERV 0x0400
|
|
#endif
|
|
-#endif
|
|
|
|
// In MSVC prior to v14, snprintf is not available
|
|
// The closest implementation is the _snprintf_s function
|
|
@@ -108,3 +107,5 @@ struct sockaddr_un
|
|
char sun_path[108]; /* pathname */
|
|
};
|
|
#endif
|
|
+
|
|
+#endif
|