system/fd_util.h: avoid symbol conflict with statically linked libmpdclient
This commit is contained in:
parent
0bcc477d46
commit
740d8ec5ab
@ -104,6 +104,11 @@ socketpair_cloexec_nonblock(int domain, int type, int protocol, int sv[2]);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBMPDCLIENT
|
||||
/* Avoid symbol conflict with statically linked libmpdclient */
|
||||
#define socket_cloexec_nonblock socket_cloexec_nonblock_noconflict
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Wrapper for socket(), which sets the CLOEXEC and the NONBLOCK flag
|
||||
* (atomically if supported by the OS).
|
||||
|
Loading…
Reference in New Issue
Block a user