mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Remove bad defines from early days of project
These definitions were causing issues with building LLVM. It is possible they also caused crashes we've seen with our MacOS ARM64 OpenMP support.
This commit is contained in:
parent
f25fbbaaeb
commit
5dd7ddb9ea
20 changed files with 568 additions and 140 deletions
10
third_party/nsync/futex.internal.h
vendored
10
third_party/nsync/futex.internal.h
vendored
|
@ -4,8 +4,14 @@
|
|||
#include "libc/dce.h"
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int nsync_futex_wake_(_Atomic(int) *, int, char);
|
||||
int nsync_futex_wait_(_Atomic(int) *, int, char, const struct timespec *);
|
||||
#ifndef __cplusplus
|
||||
#define _FUTEX_ATOMIC(x) _Atomic(x)
|
||||
#else
|
||||
#define _FUTEX_ATOMIC(x) x
|
||||
#endif
|
||||
|
||||
int nsync_futex_wake_(_FUTEX_ATOMIC(int) *, int, char);
|
||||
int nsync_futex_wait_(_FUTEX_ATOMIC(int) *, int, char, const struct timespec *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* NSYNC_FUTEX_INTERNAL_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue