mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
Fix compilation for osx.
This commit is contained in:
parent
fb8bc4e8c9
commit
a2b35aa634
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
#ifdef 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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue