Bug #4490

struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.

Added by Levon Saldamli over 4 years ago. Updated almost 3 years ago.

Assignee:Nobuyoshi Nakada
ruby -v:ruby 1.9.2p136 (2010-12-25) [i386-mingw32] Backport:


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.

struct timespec {

Perhaps the same should be done for struct timezone?


#1 Updated by Yui NARUSE over 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to Nobuyoshi Nakada

#2 Updated by Nobuyoshi Nakada almost 3 years ago

  • Status changed from Assigned to Rejected

mingw is not a pthread platform.

Also available in: Atom PDF