Make Cosmopolitan ANSI C89 compatible
You can now use cosmopolitan.h with an ANSI C89 compiler like MSVC. The Cosmopolitan codebase itself won't support being compiled that way. But you can build objects that link against Cosmopolitan using any compiler and you can furthermore use tools like IntelliSense that can't even GNU See also #40
This commit is contained in:
@ -7,8 +7,8 @@
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
#define _kAutomapStart 0x0000100080000000 // asan can't spread its poison here
|
||||
#define _kAutomapSize 0x00000fff80000000
|
||||
#define _kAutomapStart 0x0000100080000000 /* asan can't spread its poison */
|
||||
#define _kAutomapSize 0x00000fff80000000 /* beyond the above mem address */
|
||||
#define _kFixedmapStart 0x0000200000000000
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user