From: Jim Meyering Date: Fri, 18 Apr 2008 09:26:45 +0000 (+0000) Subject: avoid compile error when is absent X-Git-Tag: LIBVIRT_0_4_4~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d206f1d7a3b042436d0ce0640dd1a441f2194d1;p=thirdparty%2Flibvirt.git avoid compile error when is absent * src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if". --- diff --git a/ChangeLog b/ChangeLog index 6ccf374cac..6ea2f90f0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 18 11:24:24 CEST 2008 Jim Meyering + + avoid compile error when 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 Fixes for MinGW. diff --git a/src/internal.h b/src/internal.h index 6b2b633217..6bed4770d2 100644 --- a/src/internal.h +++ b/src/internal.h @@ -12,7 +12,7 @@ #include #endif -#if HAVE_PTHREAD_H +#ifdef HAVE_PTHREAD_H #include #define PTHREAD_MUTEX_T(v) pthread_mutex_t v #else