diff options
Diffstat (limited to 'spin.c')
-rw-r--r-- | spin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |