Compiling Ruby with MSVC


Hi all.

Well, I managed to build Ruby latest snapshot with nmake. Now I need
to build Ruby as Visual Studio solution, but I just stuck in error
messages. I spent some time in lurking around and found this post:

But nothing changes. Errors still here, most of them is in Windows SDK
files such as winbase.h, looks like some typedefs broken - compiler
hasn’t figure out that struct members with types like DWORD really
defined and spit “C requires that a struct or union has at least one
member” and numerous syntax errors.

Any suggestions on subj?