The real libkern.h now uses "long long" that eVC has no clue about. Instead of polluting libkern.h with ifdefs introduce our own private copy. Since AFAICT we only need it for libsa/ufs.c which only
The real libkern.h now uses "long long" that eVC has no clue about. Instead of polluting libkern.h with ifdefs introduce our own private copy. Since AFAICT we only need it for libsa/ufs.c which only includes it for the strlen() prototype, trim it to provide just that for now.
We cannot just #include <string.h> (the WinCE one) here, as that pulls in a lot of unrelated stuff, e.g. defines for limits that collide with machine/limits.h
show more ...
|