Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
104fe124
Commit
104fe124
authored
Jul 21, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/StaticSocketAddress: disable SetLocal() on Android
Fixes build failure because Bionic doesn't provide SUN_LEN().
parent
5bdbd74d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StaticSocketAddress.cxx
src/net/StaticSocketAddress.cxx
+1
-1
StaticSocketAddress.hxx
src/net/StaticSocketAddress.hxx
+1
-1
No files found.
src/net/StaticSocketAddress.cxx
View file @
104fe124
...
...
@@ -57,7 +57,7 @@ StaticSocketAddress::operator==(const StaticSocketAddress &other) const
memcmp
(
&
address
,
&
other
.
address
,
size
)
==
0
;
}
#if
def HAVE_UN
#if
defined(HAVE_UN) && !defined(__BIONIC__)
void
StaticSocketAddress
::
SetLocal
(
const
char
*
path
)
...
...
src/net/StaticSocketAddress.hxx
View file @
104fe124
...
...
@@ -64,7 +64,7 @@ public:
size
);
}
#if
def HAVE_UN
#if
defined(HAVE_UN) && !defined(__BIONIC__)
/**
* Make this a "local" address (UNIX domain socket).
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment