summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/interpol-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/interpol-test.c b/src/tests/interpol-test.c
index bf7f582c..2df65a45 100644
--- a/src/tests/interpol-test.c
+++ b/src/tests/interpol-test.c
@@ -148,7 +148,7 @@ int main(int argc, char *argv[]) {
tv = now;
while (pa_timeval_diff(pa_gettimeofday(&now), &tv) < 1000)
-#ifdef HAVE_PTHREAD
+#ifdef HAVE_PTHREAD_YIELD
pthread_yield();
#elif defined(OS_IS_WIN32)
Sleep(0);