[ruby-cvs:69392] k0kubun:r62211 (trunk): mjit.c: define __EXTENSIONS__ earlier

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Mon Feb 5 00:40:06 JST 2018


k0kubun	2018-02-05 00:40:06 +0900 (Mon, 05 Feb 2018)

  New Revision: 62211

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62211

  Log:
    mjit.c: define __EXTENSIONS__ earlier
    
    Another try of r62204 and r62192.
    
    As far as I can see from solaris's signal.h and sys/procset.h, the only
    possibility that causes the following error would be that sys/procset.h
    is included without __EXTENSIONS__ and signal.h included it again but it
    doesn't define procset_t.  Let's define __EXTENSIONS__ from first.
    
    ---
    In file included from vm_core.h:87:0,
                     from mjit.c:85:
    /usr/include/signal.h:77:29: error: unknown type name 'procset_t'
     extern int sigsendset(const procset_t *, int);
                                 ^

  Modified files:
    trunk/mjit.c


More information about the ruby-cvs mailing list