Fix some behavioral issues on Windows

This commit is contained in:
Justine Tunney 2023-07-09 09:51:59 -07:00
parent 41396ff48a
commit 42ba9901e4
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 44 additions and 7 deletions

View file

@ -9,6 +9,7 @@
#include "libc/macros.internal.h"
#include "libc/mem/mem.h"
#include "libc/nexgen32e/rdtsc.h"
#include "libc/runtime/internal.h"
#include "libc/runtime/runtime.h"
#include "libc/runtime/sysconf.h"
#include "libc/stdckdint.h"

View file

@ -96,6 +96,7 @@ __attribute__((__constructor__)) int init_mparams(void) {
// RELEASE_MALLOC_GLOBAL_LOCK();
__runlevel = RUNLEVEL_MALLOC;
return 1;
}