mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-21 12:10:26 +02:00
Fix build when scm_t_timespec is different from struct timespec
Reported by Roland Haeder. The declaration and definition of scm_pthread_cond_timedwait were using possibly different types for the third arg. * THANKS: Added Roland Haeder. * libguile/threads.h (scm_pthread_cond_timedwait): Use scm_t_timespec for third arg rather than struct timespec, for consistency with the function implementation.
This commit is contained in:
parent
cbee5075d6
commit
ab878b0f8e
3 changed files with 3 additions and 1 deletions
1
NEWS
1
NEWS
|
@ -47,6 +47,7 @@ Changes in 1.8.7 (since 1.8.6)
|
||||||
|
|
||||||
** Fix %fast-slot-ref/set!, to avoid possible segmentation fault
|
** Fix %fast-slot-ref/set!, to avoid possible segmentation fault
|
||||||
** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion
|
** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion
|
||||||
|
** Fix build problem when scm_t_timespec is different from struct timespec
|
||||||
|
|
||||||
|
|
||||||
Changes in 1.8.6 (since 1.8.5)
|
Changes in 1.8.6 (since 1.8.5)
|
||||||
|
|
1
THANKS
1
THANKS
|
@ -43,6 +43,7 @@ For fixes or providing information which led to a fix:
|
||||||
John Goerzen
|
John Goerzen
|
||||||
Mike Gran
|
Mike Gran
|
||||||
Szavai Gyula
|
Szavai Gyula
|
||||||
|
Roland Haeder
|
||||||
Sven Hartrumpf
|
Sven Hartrumpf
|
||||||
Eric Hanchrow
|
Eric Hanchrow
|
||||||
Sam Hocevar
|
Sam Hocevar
|
||||||
|
|
|
@ -232,7 +232,7 @@ SCM_API int scm_pthread_cond_wait (pthread_cond_t *cond,
|
||||||
pthread_mutex_t *mutex);
|
pthread_mutex_t *mutex);
|
||||||
SCM_API int scm_pthread_cond_timedwait (pthread_cond_t *cond,
|
SCM_API int scm_pthread_cond_timedwait (pthread_cond_t *cond,
|
||||||
pthread_mutex_t *mutex,
|
pthread_mutex_t *mutex,
|
||||||
const struct timespec *abstime);
|
const scm_t_timespec *abstime);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* More convenience functions.
|
/* More convenience functions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue