[ruby-cvs:73006] odaira:r65906 (trunk): errno.h must be included after config.h because config.h might define

odaira at ruby-lang.org odaira at ruby-lang.org
Thu Nov 22 05:39:09 JST 2018


odaira	2018-11-22 05:39:09 +0900 (Thu, 22 Nov 2018)

  New Revision: 65906

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

  Log:
    errno.h must be included after config.h because config.h might define
    _REENTRANT, _THREAD_SAFE, etc., which affect how errno is defined
    on some architectures
    
    * ext/openssl/ossl.h: include errno.h after ruby.h
    
    * include/ruby/io.h: include errno.h after ruby/config.h

  Modified files:
    trunk/ext/openssl/ossl.h
    trunk/include/ruby/io.h


More information about the ruby-cvs mailing list