_WIN32 already has tzname and daylight defined.
I had to change line 129 from:
#if !defined(OS2) && defined(HAVE_TZNAME)
#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.
Updated by docwhat (Christian Höltje) about 10 years ago
re: No response, No problem.
Redmine isn't sending me emails, so I didn't know I should respond. I just changed my email address to see if that fixes it. If I don't respond, you can contact me directly at http://docwhat.org/email and I'll complain to the redmine admins.
re: error message and compiling command?
Example Cl.EXE invokation...
cl.exe -nologo -I. -I../../.ext/include/x64-mswin64_80 -I../../../ruby-1.9.1-p378/include -I../../../ruby-1.9.1-p378/ext/dl
-nologo -MD -O2b2xty- /O2 -DRUBY_EXTCONF_H=\"extconf.h\" -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Focallback-2.obj