changed fcntl to ::fcntl in Socket.cpp
This commit is contained in:
parent
d533112788
commit
7762a0bc90
@ -104,7 +104,7 @@ open_socket:
|
|||||||
|
|
||||||
if (traits)
|
if (traits)
|
||||||
{
|
{
|
||||||
fcntl_v = fcntl(x, F_GETFL, 0);
|
fcntl_v = ::fcntl(x, F_GETFL, 0);
|
||||||
if (fcntl_v == -1)
|
if (fcntl_v == -1)
|
||||||
{
|
{
|
||||||
fcntl_failure:
|
fcntl_failure:
|
||||||
@ -121,7 +121,7 @@ open_socket:
|
|||||||
else fcntl_v &= ~O_CLOEXEC;
|
else fcntl_v &= ~O_CLOEXEC;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (fcntl(x, F_SETFL, fcntl_v) == -1) goto fcntl_failure;
|
if (::fcntl(x, F_SETFL, fcntl_v) == -1) goto fcntl_failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
Loading…
Reference in New Issue
Block a user