aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_inter.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2005-10-15 23:14:28 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2005-10-15 23:14:28 +0000
commit9ac980fd47d057cccd89eb52909bd2afec79569a (patch)
tree84594bdc9f730e873c051d3085317827610b00fc /pd/src/s_inter.c
parentc23dc858c7362d6f72b797e5d06f3f81280d67b9 (diff)
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
Diffstat (limited to 'pd/src/s_inter.c')
-rw-r--r--pd/src/s_inter.c3
1 files changed, 2 insertions, 1 deletions
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__ */