From: "usa (Usaku NAKAMURA)" Date: 2012-10-12T16:48:43+09:00 Subject: [ruby-core:47937] [ruby-trunk - Bug #7144][Closed] [mingw] 1.9.3 backport r37138 breaks build Issue #7144 has been updated by usa (Usaku NAKAMURA). Status changed from Open to Closed Already committed shirosaki-san's patch. Thank you for your report. ---------------------------------------- Bug #7144: [mingw] 1.9.3 backport r37138 breaks build https://bugs.ruby-lang.org/issues/7144#change-30384 Author: jonforums (Jon Forums) Status: Closed Priority: Normal Assignee: naruse (Yui NARUSE) Category: core Target version: 1.9.3 ruby -v: ruby 1.9.3p277 (2012-09-25 revision 37029) [i386-mingw32] On ruby_1_9_3@r37144 (but not trunk@37146) the following error occurs with both GCC 4.6.2 (mingw) and GCC 4.7.2 (mingw-w64) compiling ../../../../Jenkins/workspace/ruby-1_9_3-svn/io.c ../../../../Jenkins/workspace/ruby-1_9_3-svn/io.c: In function 'rb_cloexec_fcntl_dupfd': ../../../../Jenkins/workspace/ruby-1_9_3-svn/io.c:213:21: error: 'F_DUPFD' undeclared (first use in this function) -- http://bugs.ruby-lang.org/