mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 20:13:31 +00:00
a8d7195777
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
13 lines
390 B
C
13 lines
390 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#ifndef __STRICT_ANSI__
|
|
int sleb128(const void *, size_t, int128_t);
|
|
int unsleb128(const void *, size_t, int128_t *);
|
|
#endif /* ANSI */
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_LEB128_H_ */
|