mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
Fix the wasi build
This commit is contained in:
parent
9912c3ee0b
commit
f477d972b5
@ -1,6 +1,6 @@
|
||||
include $(SHLR)/sdb.mk
|
||||
include $(SHLR)/zip/deps.mk
|
||||
include $(SHLR)/../config-user.mk
|
||||
# include $(SHLR)/../config-user.mk
|
||||
|
||||
LDFLAGS+=-lm
|
||||
|
||||
|
@ -125,7 +125,7 @@ R_API bool r_th_getname(RThread *th, char *name, size_t len) {
|
||||
}
|
||||
|
||||
R_API bool r_th_setaffinity(RThread *th, int cpuid) {
|
||||
#if __wasi__
|
||||
#if defined(__wasi__) || defined(_WASI_EMULATED_SIGNAL)
|
||||
return true;
|
||||
#elif __linux__
|
||||
#if defined(__GLIBC__) && defined (__GLIBC_MINOR__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)
|
||||
|
Loading…
Reference in New Issue
Block a user