ruby-changes:6143
From: shyouhei <ko1@a...>
Date: Sun, 29 Jun 2008 17:14:40 +0900 (JST)
Subject: [ruby-changes:6143] Ruby:r17654 (ruby_1_8_6): merge revision(s) 17108:
shyouhei 2008-06-29 17:14:26 +0900 (Sun, 29 Jun 2008) New Revision: 17654 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/ext/openssl/ossl.h branches/ruby_1_8_6/version.h Log: merge revision(s) 17108: * ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined. a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=17654&r2=17653&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=17654&r2=17653&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ext/openssl/ossl.h?r1=17654&r2=17653&diff_format=u Index: ruby_1_8_6/ext/openssl/ossl.h =================================================================== --- ruby_1_8_6/ext/openssl/ossl.h (revision 17653) +++ ruby_1_8_6/ext/openssl/ossl.h (revision 17654) @@ -42,6 +42,11 @@ #if defined(_WIN32) # define OpenFile WINAPI_OpenFile # define OSSL_NO_CONF_API 1 +# ifdef USE_WINSOCK2 +# include <winsock2.h> +# else +# include <winsock.h> +# endif #endif #include <errno.h> #include <openssl/err.h> Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 17653) +++ ruby_1_8_6/ChangeLog (revision 17654) @@ -1,3 +1,8 @@ +Sun Jun 29 17:10:30 2008 NAKAMURA Usaku <usa@r...> + + * ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined. + a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078] + Sun Jun 29 17:07:30 2008 wanabe <s.wanabe@g...> * util.c (ruby_strtod): ruby_strtod don't allow a trailing Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 17653) +++ ruby_1_8_6/version.h (revision 17654) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-29" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080629 -#define RUBY_PATCHLEVEL 241 +#define RUBY_PATCHLEVEL 242 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/