mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 23:02:14 +00:00
This change enables all of the .c sources in musl be built with the clang -target wasm32-unknown-unknown-wasm
8 lines
157 B
C
8 lines
157 B
C
static inline struct pthread *__pthread_self(void) { return pthread_self(); }
|
|
|
|
#define TP_ADJ(p) (p)
|
|
|
|
#define CANCEL_REG_IP 16
|
|
|
|
#define MC_PC gregs[REG_EIP]
|