summaryrefslogtreecommitdiff
path: root/threading_pthread.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-11-20 16:36:31 +0100
committerGravatar waker <wakeroid@gmail.com>2010-11-20 16:36:31 +0100
commit38c085d04677559b5232b1ac7ae5469f6bb77e4d (patch)
tree63494c05f82bc0fcdada83bce9c113281d7540b3 /threading_pthread.c
parent5a5025ff2086e01c2f0164d9c9bb1b3e20a279d1 (diff)
portable-0.4.4-r1
Diffstat (limited to 'threading_pthread.c')
-rw-r--r--threading_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threading_pthread.c b/threading_pthread.c
index 0705128c..cb80fcb1 100644
--- a/threading_pthread.c
+++ b/threading_pthread.c
@@ -72,7 +72,7 @@ thread_start_low_priority (void (*fn)(void *ctx), void *ctx) {
fprintf (stderr, "pthread_create failed: %s\n", strerror (s));
return 0;
}
-#if !PORTABLE
+#if !STATICLINK
s = pthread_setschedprio (tid, minprio);
if (s != 0) {
fprintf (stderr, "pthread_setschedprio failed: %s\n", strerror (s));