mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
More compat work towards porting vim.
It now builds and runs in the small-featureset configuration. :^)
This commit is contained in:
parent
424368034b
commit
e421c10735
8 changed files with 44 additions and 5 deletions
|
@ -33,7 +33,7 @@ struct MallocFooter {
|
|||
uint32_t xorcheck;
|
||||
};
|
||||
|
||||
#define CHUNK_SIZE 16
|
||||
#define CHUNK_SIZE 32
|
||||
#define POOL_SIZE 4 * 1048576
|
||||
|
||||
static const size_t malloc_budget = POOL_SIZE;
|
||||
|
@ -250,6 +250,14 @@ int putenv(char* new_var)
|
|||
return 0;
|
||||
}
|
||||
|
||||
double strtod(const char* str, char** endptr)
|
||||
{
|
||||
(void)str;
|
||||
(void)endptr;
|
||||
dbgprintf("LibC: strtod: '%s'\n", str);
|
||||
assert(false);
|
||||
}
|
||||
|
||||
double atof(const char* str)
|
||||
{
|
||||
dbgprintf("LibC: atof: '%s'\n", str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue