Actions
Bug #4490
closedstruct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.
ruby -v:
ruby 1.9.2p136 (2010-12-25) [i386-mingw32]
Backport:
Description
pthreads wants to declare struct timespec again since HAVE_STRUCT_TIMESPEC is not defined. After adding the following to ./include/ruby-1.9.1/ruby/missing.h problem is solved.
#if !defined(HAVE_STRUCT_TIMESPEC)
- #define HAVE_STRUCT_TIMESPEC
struct timespec {
Perhaps the same should be done for struct timezone?
Actions
Like0
Like0Like0