ruby-changes:52753
From: k0kubun <ko1@a...>
Date: Mon, 8 Oct 2018 22:57:42 +0900 (JST)
Subject: [ruby-changes:52753] k0kubun:r64965 (trunk): include/ruby/ruby.h: comment about mswin RUBY_EXTERN [ci skip]
k0kubun 2018-10-08 22:57:36 +0900 (Mon, 08 Oct 2018) New Revision: 64965 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64965 Log: include/ruby/ruby.h: comment about mswin RUBY_EXTERN [ci skip] Modified files: trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 64964) +++ include/ruby/ruby.h (revision 64965) @@ -28,7 +28,8 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L28 #include "defines.h" -/* For MinGW, we need __declspec(dllimport) for RUBY_EXTERN on MJIT. mswin's RUBY_EXTERN already has that. */ +/* For MinGW, we need __declspec(dllimport) for RUBY_EXTERN on MJIT. + mswin's RUBY_EXTERN already has that. See also: win32/Makefile.sub */ #if defined(MJIT_HEADER) && defined(_WIN32) && defined(__GNUC__) # undef RUBY_EXTERN # define RUBY_EXTERN extern __declspec(dllimport) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/