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?
Updated by naruse (Yui NARUSE) almost 13 years ago
- Status changed from Open to Assigned
- Assignee set to nobu (Nobuyoshi Nakada)
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Assigned to Rejected
mingw is not a pthread platform.
Actions
Like0
Like0Like0