diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-02 18:35:55 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-07 21:00:43 +0400 |
commit | f33cc84dd4af7776309d118412df008ec4108a57 (patch) | |
tree | 74e48586df6aa4df8ee651827f30e2ed55d27e02 /include/glib-compat.h | |
parent | 69b15212d761889b2768b654f09a0eac78951674 (diff) |
do not call g_thread_init() for glib >= 2.31
glib >= 2.31 always enables thread support and g_thread_supported()
is #defined to 1, there's no need to call g_thread_init() anymore,
and it definitely does not need to report error which never happens.
Keep code for old < 2.31 glibc anyway for now, just #ifdef it
differently.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Cc: qemu-trivial@nongnu.org
Diffstat (limited to 'include/glib-compat.h')
0 files changed, 0 insertions, 0 deletions