When attempted to use FD_SETSIZE preprocesor definition under Windows to increase number of file descriptions, found that configure script replicated it.
A simple configure invoke with `sh configure --enable-shared CPPFLAGS='-DFD_SETSIZE=32767' result in the following value returned by RbConfig:
I bet $CPPFLAGS and $cppflags are doing a two step. See if you have something similar to the following (from trunk) in the lib\ruby\1.9.1\i386-mingw32\rbconfig.rb file:
This issue was solved with changeset r36550.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
configure.in: get rid of duplication in CPPFLAGS
configure.in (RUBY_CPPOUTFILE): get rid of variable conflict so
CPPFLAGS is not duplicated. [ruby-core:43097] [Bug #6119]