summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2007-03-01 22:00:42 +0000
committerTaybin Rutkin <taybin@taybin.com>2007-03-01 22:00:42 +0000
commitf942909c77879e4fff9eacb2fe2c9008fef55286 (patch)
tree1ead6a8ef962919085308c1eb2a9700516994cdf /gtk2_ardour
parent5a05deb4b5b010981fd2b0b4a12e180841a93b41 (diff)
Fixed compilation issues.
git-svn-id: svn://localhost/ardour2/trunk@1546 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index c11175fe27..ab06f4952b 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -453,7 +453,7 @@ ARDOUR_UI::check_memory_locking ()
#ifdef __APPLE__
/* OS X doesn't support mlockall(2), and so testing for memory locking capability there is pointless */
return;
-#endif
+#else // !__APPLE__
XMLNode* memory_warning_node = Config->instant_xml (X_("no-memory-warning"), get_user_ardour_path());
@@ -499,6 +499,7 @@ ARDOUR_UI::check_memory_locking ()
}
}
}
+#endif // !__APPLE__
}