Please try the current trunk, these two problems should be fixed
there.
 
Now I can compile the latest trunk with msvc smoothly :)


2013/3/16 Eli Zaretskii <eliz@gnu.org>
> Date: Sat, 16 Mar 2013 14:12:35 +0800
> From: À <iamliding@gmail.com>
> Cc: Fabrice Popineau <fabrice.popineau@gmail.com>, 13939 <13939@debbugs.gnu.org>
>
> It seems that the `!if USE_CRT_DLL' thing is not fixed yet...

Fixed.

> Line 79 of vm-limit.c references a not-defined macro UINTPTR_MAX.
> I guess it should be UINTMAX_MAX after having a look at nt/stdint.h.

I added definition of UINTPTR_MAX to nt/stdint.h.

Committed as trunk revision 112056.

Please try the current trunk, these two problems should be fixed
there.