projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8bc4e
)
Fix compilation for osx.
author
nick_m
<mainsbridge@gmail.com>
Tue, 10 Mar 2015 14:57:16 +0000
(
01:57
+1100)
committer
nick_m
<mainsbridge@gmail.com>
Tue, 10 Mar 2015 14:57:16 +0000
(
01:57
+1100)
libs/ardour/audiosource.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audiosource.cc
b/libs/ardour/audiosource.cc
index 334322005e99bb627073ad666336fc5df70d65cc..5036ac91b1fdf07e66f092873a5777d325274b95 100644
(file)
--- a/
libs/ardour/audiosource.cc
+++ b/
libs/ardour/audiosource.cc
@@
-343,7
+343,7
@@
AudioSource::read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t
const int bufsize = sysconf(_SC_PAGESIZE);
framecnt_t zero_fill = 0;
-#if
def PLATFORM_WINDOWS
+#if
defined (PLATFORM_WINDOWS) || defined ( __APPLE__)
ScopedFileDescriptor sfd (::open (peakpath.c_str(), O_RDONLY | O_NONBLOCK));
#else
ScopedFileDescriptor sfd (::open (peakpath.c_str(), O_RDONLY | O_NOATIME | O_NONBLOCK));