summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-09-29 13:16:45 +0200
committerAlexander Larsson <alexl@redhat.com>2010-09-29 13:16:45 +0200
commit44631aa023c58990f13ca50050567033cfa9da3f (patch)
tree0ce5daa6076b8e9ad2a24d4a69ae6493fa0033be /client
parent1670b220b5a60bb957967a5d5424d129cbd909ee (diff)
downloadspice-44631aa023c58990f13ca50050567033cfa9da3f.tar.gz
spice-44631aa023c58990f13ca50050567033cfa9da3f.tar.xz
spice-44631aa023c58990f13ca50050567033cfa9da3f.zip
client: Check for pthread yield function using autoconf
Diffstat (limited to 'client')
-rw-r--r--client/x11/platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index cc1502bd..a9b4449d 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -463,7 +463,7 @@ void Platform::msleep(unsigned int millisec)
void Platform::yield()
{
- pthread_yield();
+ POSIX_YIELD_FUNC;
}
void Platform::term_printf(const char* format, ...)