mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -04:00
Otherwise the latter "wins", when compiling with latest clang and -std=c++17, but its result can not be compared with the integer 0 causing an error...
9 lines
306 B
C++
9 lines
306 B
C++
--- app/test.cpp 2013-02-23 03:32:36
|
|
+++ app/test.cpp 2018-01-21 02:11:47
|
|
@@ -88,5 +88,5 @@
|
|
|
|
ssock = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
|
|
- if (bind(ssock, res->ai_addr, res->ai_addrlen) != 0)
|
|
+ if (::bind(ssock, res->ai_addr, res->ai_addrlen) != 0)
|
|
{
|
|
return -1;
|