mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Merge pull request #4311 from myd7349/fix-sockaddr_un-redefinition
Problem: struct sockaddr_un redefinition
This commit is contained in:
commit
1d3633742a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user