summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-06 01:05:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-06 01:05:15 +0000
commit95c86bec2d23ddbb3aef49190bacd333af1d1b5b (patch)
treea99aca26a896763ad9d1e209aad62505ef914914 /libs
parentcb4e8f7626fcb607c0fe759b27880109467c77d0 (diff)
two fixes from TheCranston to help out on OS X with disk space measurement, modified by me
git-svn-id: svn://localhost/ardour2/branches/3.0@14157 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 74b56b787e..b6df5d5cbb 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2078,7 +2078,7 @@ Session::save_template (string template_name)
void
Session::refresh_disk_space ()
{
-#if HAVE_SYS_VFS_H && HAVE_SYS_STATVFS_H
+#if __APPLE__ || (HAVE_SYS_VFS_H && HAVE_SYS_STATVFS_H)
Glib::Threads::Mutex::Lock lm (space_lock);