Hi there.
Can't build on solaris due to error in util.c. You don't know anything about existing different os than Linux or MinGW, yes? :)
In util.c requires to be:
int PortableMkDir(const char *path,int mode)
{
int mkerror=mkdir(path,mode);
(void)mode;
int mkerror=_mkdir(path);
return(mkerror);
}
Otherwise build files on different OS.
Sorry for bogus code formatting. Fixed file attached.