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

@ -8,10 +8,13 @@
#define STACK_CEIL 0x700000000000ul
#define STACK_SIZE FRAMESIZE
#define RUNLEVEL_MALLOC 1
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern int __pid;
extern char __runlevel;
extern int ftrace_stackdigs;
extern uint32_t __ntconsolemode[3];
extern const char v_ntsubsystem[] __attribute__((__weak__));