mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
43b00d8a11
* win32/win32.c (constat_attr): manage reverse video internally since Windows console window does not manage it. based on the patch by white leaf in [ruby-dev:48483]. [Bug #10158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
8 lines
287 B
Ruby
8 lines
287 B
Ruby
if $mingw or $mswin
|
|
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
|
|
inits = $srcs.map {|s| File.basename(s, ".*")}
|
|
inits.delete("init")
|
|
inits.map! {|s|"X(#{s})"}
|
|
$defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\""
|
|
create_makefile("-test-/win32/console")
|
|
end
|