Bug #2999: _WIN32 already has tzname and daylight defined.
http://redmine.ruby-lang.org/issues/show/2999

Author: Christian Höltje
Status: Open, Priority: High
Category: build
ruby -v: 1.9.1-p376

I had to change line 129 from:
#if !defined(OS2) && defined(HAVE_TZNAME)
to:
#if !defined(OS2) && defined(HAVE_TZNAME) && !defined _WIN32

This is under Windows with Visual Studio 8 - 2005. 

daylight and tzname are both already defined and the new extern's are not compatible with the previous definitions.


----------------------------------------
http://redmine.ruby-lang.org