summaryrefslogtreecommitdiff
path: root/spin.c
diff options
context:
space:
mode:
Diffstat (limited to 'spin.c')
-rw-r--r--spin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spin.c b/spin.c
index e4f6287..0b4ca10 100644
--- a/spin.c
+++ b/spin.c
@@ -85,7 +85,7 @@ pthread_spin_init(pthread_spinlock_t *lock, int pshared)
return EINVAL;
}
- if (0 != pthread_getprocessors_np(&cpus))
+ if (0 != ptw32_getprocessors(&cpus))
{
cpus = 1;
}