Both intptr_t and uintptr_t are defined in crtdefs.h in VS2008 and VS2012, I think this is not necessary.