summaryrefslogtreecommitdiff
path: root/threading_pthread.c
diff options
context:
space:
mode:
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));