On line 79 of portab.h one needs to inject the line: # define _INTPTR_T_DEFINED otherwise crtdefs.h doesn't know that intptr_t is already defined and tries to do some WEIRD stuff. Just thought you'd like to know, -- /v\atthew