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
This commit is contained in:
parent
cb4e8f7626
commit
95c86bec2d
|
@ -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);
|
||||
|
||||
|
|
2
wscript
2
wscript
|
@ -281,7 +281,7 @@ def set_compiler_flags (conf,opt):
|
|||
# a single way to test if we're on OS X
|
||||
#
|
||||
|
||||
if conf.env['build_target'] in ['panther', 'tiger', 'leopard' ]:
|
||||
if conf.env['build_target'] in ['panther', 'tiger', 'leopard', 'snowleopard', 'lion', 'mountainlion' ]:
|
||||
conf.define ('IS_OSX', 1)
|
||||
# force tiger or later, to avoid issues on PPC which defaults
|
||||
# back to 10.1 if we don't tell it otherwise.
|
||||
|
|
Loading…
Reference in New Issue
Block a user