From 9ac980fd47d057cccd89eb52909bd2afec79569a Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 15 Oct 2005 23:14:28 +0000 Subject: Bug fixes, notably for mac if no audio input device is available; also worked around a problem in ASIO support on MSW (but need to fix it better.) svn path=/trunk/; revision=3717 --- pd/src/s_inter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pd/src/s_inter.c') diff --git a/pd/src/s_inter.c b/pd/src/s_inter.c index 814e2834..66f59a24 100644 --- a/pd/src/s_inter.c +++ b/pd/src/s_inter.c @@ -284,6 +284,7 @@ void sys_set_priority(int higher) fprintf(stderr, "priority %d scheduling enabled.\n", p3); #endif +#ifdef REALLY_POSIX_MEMLOCK /* this doesn't work on Fedora 4, for example. */ #ifdef _POSIX_MEMLOCK /* tb: force memlock to physical memory { */ { @@ -296,7 +297,7 @@ void sys_set_priority(int higher) if (mlockall(MCL_FUTURE) != -1) fprintf(stderr, "memory locking enabled.\n"); #endif - +#endif } #endif /* __linux__ */ -- cgit v1.2.1