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
a65afa80
Commit
a65afa80
authored
Jan 27, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PlayerControl: work around std::nanf() not being available on MacPorts
parent
81557849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
PlayerControl.cxx
src/PlayerControl.cxx
+6
-0
No files found.
src/PlayerControl.cxx
View file @
a65afa80
...
@@ -44,7 +44,13 @@ player_control::player_control(unsigned _buffer_chunks,
...
@@ -44,7 +44,13 @@ player_control::player_control(unsigned _buffer_chunks,
next_song
(
nullptr
),
next_song
(
nullptr
),
cross_fade_seconds
(
0
),
cross_fade_seconds
(
0
),
mixramp_db
(
0
),
mixramp_db
(
0
),
#if defined(__GLIBCXX__) && !defined(_GLIBCXX_USE_C99_MATH_TR1)
/* workaround: on MacPorts, this option is disabled on gcc47,
and therefore std::nanf() is not available */
mixramp_delay_seconds
(
nanf
(
""
)),
#else
mixramp_delay_seconds
(
std
::
nanf
(
""
)),
mixramp_delay_seconds
(
std
::
nanf
(
""
)),
#endif
total_play_time
(
0
),
total_play_time
(
0
),
border_pause
(
false
)
border_pause
(
false
)
{
{
...
...
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