Issue #4490 has been updated by nobu (Nobuyoshi Nakada). Status changed from Assigned to Rejected mingw is not a pthread platform. ---------------------------------------- Bug #4490: struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads. https://bugs.ruby-lang.org/issues/4490#change-35157 Author: levsa (Levon Saldamli) Status: Rejected Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: ruby -v: ruby 1.9.2p136 (2010-12-25) [i386-mingw32] 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?
on 2012-12-30 15:03
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.