mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
5dd7ddb9ea
These definitions were causing issues with building LLVM. It is possible they also caused crashes we've seen with our MacOS ARM64 OpenMP support.
19 lines
568 B
C
19 lines
568 B
C
#ifndef COSMOPOLITAN_LIBC_COSMO_H_
|
|
#define COSMOPOLITAN_LIBC_COSMO_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#ifndef __cplusplus
|
|
#define _COSMO_ATOMIC(x) _Atomic(x)
|
|
#else
|
|
#define _COSMO_ATOMIC(x) x
|
|
#endif
|
|
|
|
errno_t cosmo_once(_COSMO_ATOMIC(unsigned) *, void (*)(void)) libcesque;
|
|
int systemvpe(const char *, char *const[], char *const[]) libcesque;
|
|
char *GetProgramExecutableName(void) libcesque;
|
|
void unleaf(void) libcesque;
|
|
int __demangle(char *, const char *, size_t) libcesque;
|
|
int __is_mangled(const char *) libcesque;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_LIBC_COSMO_H_ */
|