mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-24 23:09:02 +00:00
- Use good ELF technique in cosmo_dlopen() - Make strerror() conform more to other libc impls - Introduce __clear_cache() and use it in cosmo_dlopen() - Remove libc/fmt/fmt.h header (trying to kill off LIBC_FMT)
13 lines
464 B
C
13 lines
464 B
C
#include "libc/runtime/runtime.h"
|
|
#include "libc/stdio/stdio.h"
|
|
#include "libc/str/str.h"
|
|
|
|
__static_yoink("sys_mmap"); /* asan needs it */
|
|
__static_yoink("__track_memory"); /* asan needs it */
|
|
|
|
#define ASSERT(x, y) Assert2(x, y, #y, __FILE__, __LINE__)
|
|
#define ASSERT128(x, y) Assert128(x, y, #y, __FILE__, __LINE__)
|
|
|
|
void Assert(long, long, char *);
|
|
void Assert2(long, long, char *, char *, int);
|
|
void Assert128(__int128, __int128, char *, char *, int);
|