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
bba22c9c
Commit
bba22c9c
authored
Nov 02, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system/FileDescriptor: check `__linux__` instead of `__linux`
`__linux` is the deprecated non-standard macros which appears to be not present at all on PowerPC. Closes #398
parent
694c437a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
NEWS
NEWS
+1
-0
FileDescriptor.cxx
src/system/FileDescriptor.cxx
+1
-1
FileDescriptor.hxx
src/system/FileDescriptor.hxx
+1
-1
No files found.
NEWS
View file @
bba22c9c
ver 0.21.1 (not yet released)
* decoder
- ffmpeg: fix build failure with non-standard FFmpeg installation path
* fix build failure on Linux-PowerPC
ver 0.21 (2018/10/31)
* configuration
...
...
src/system/FileDescriptor.cxx
View file @
bba22c9c
...
...
@@ -76,7 +76,7 @@ FileDescriptor::IsSocket() const noexcept
#endif
#ifdef __linux
#ifdef __linux
__
bool
FileDescriptor
::
Open
(
FileDescriptor
dir
,
const
char
*
pathname
,
...
...
src/system/FileDescriptor.hxx
View file @
bba22c9c
...
...
@@ -116,7 +116,7 @@ public:
return
FileDescriptor
(
-
1
);
}
#ifdef __linux
#ifdef __linux
__
bool
Open
(
FileDescriptor
dir
,
const
char
*
pathname
,
int
flags
,
mode_t
mode
=
0666
)
noexcept
;
#endif
...
...
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