From 68cd86f6b75c45ac0421e55f955c9f967bd91445 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 25 Jun 2004 15:25:37 +0000 Subject: '' --- ChangeLog | 14 ++++++++++---- pthread.h | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2641d99..4131f64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2004-06-21 Ross Johnson +2004-06-26 Jason Bard + + * pthread.h (HAVE_STRUCT_TIMESPEC): If undefined, define it + to avoid timespec struct redefined errors elsewhere in an + application. + +2004-06-21 Ross Johnson * pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Mutex initialiser added for compatibility with Linux threads and @@ -17,17 +23,17 @@ * pthread_mutex_unlock.c (pthread_mutex_unlock): Likewise. * pthread_mutex_destroy.c (pthread_mutex_destroy): Likewise. -2004-05-20 Ross Johnson +2004-05-20 Ross Johnson * README.NONPORTABLE: Document pthread_win32_test_features_np(). * FAQ: Update various answers. -2004-05-19 Ross Johnson +2004-05-19 Ross Johnson * Makefile: Don't define _WIN32_WINNT on compiler command line. * GNUmakefile: Likewise. -2004-05-16 Ross Johnson +2004-05-16 Ross Johnson * pthread_cancel.c (pthread_cancel): Adapted to use auto-detected QueueUserAPCEx features at run-time. diff --git a/pthread.h b/pthread.h index 729458c..1abfd93 100644 --- a/pthread.h +++ b/pthread.h @@ -274,6 +274,7 @@ enum { #endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */ #ifndef HAVE_STRUCT_TIMESPEC +#define HAVE_STRUCT_TIMESPEC 1 struct timespec { long tv_sec; long tv_nsec; -- cgit v1.2.3