Added stubs for fscanf(3) and mbtowc(3).
This helps gzip build.
This commit is contained in:
parent
622e0176e3
commit
6eb6a14ace
|
@ -367,6 +367,18 @@ retry:
|
||||||
{
|
{
|
||||||
return 0x10000;
|
return 0x10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" int fscanf(FILE* /*fp*/, const char* /*format*/, ...)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "fscanf(3) is not implemented\n");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
extern "C" int mbtowc(wchar_t* /*pwd*/, const char* /*s*/, size_t /*n*/)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "mbtowc(3) is not implemented\n");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue