mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-11 16:05:56 -06:00
avoid compile error when <pthread.h> is absent
* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
This commit is contained in:
parent
8df91acf70
commit
2d206f1d7a
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 11:24:24 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
avoid compile error when <pthread.h> is absent
|
||||
* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
|
||||
|
||||
Fri Apr 18 09:27:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
Fixes for MinGW.
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <sys/syslimits.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_PTHREAD_H
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
#include <pthread.h>
|
||||
#define PTHREAD_MUTEX_T(v) pthread_mutex_t v
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user