提交 2d206f1d 编写于 作者: J Jim Meyering

avoid compile error when <pthread.h> is absent

* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
上级 8df91acf
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册