mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 02:20:51 +03:00
Make it build with musl
musl does not provide makecontext() and swapcontext(), though they were once in POSIX. They were removed from POSIX.2008 though.
This commit is contained in:
parent
7937360c6a
commit
3a7b0525c7
@ -257,7 +257,8 @@
|
|||||||
#define __TBB_CPP20_COMPARISONS_PRESENT __TBB_CPP20_PRESENT
|
#define __TBB_CPP20_COMPARISONS_PRESENT __TBB_CPP20_PRESENT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __TBB_RESUMABLE_TASKS (!__TBB_WIN8UI_SUPPORT && !__ANDROID__)
|
// #define __TBB_RESUMABLE_TASKS (!__TBB_WIN8UI_SUPPORT && !__ANDROID__)
|
||||||
|
#define __TBB_RESUMABLE_TASKS 0
|
||||||
|
|
||||||
/* This macro marks incomplete code or comments describing ideas which are considered for the future.
|
/* This macro marks incomplete code or comments describing ideas which are considered for the future.
|
||||||
* See also for plain comment with TODO and FIXME marks for small improvement opportunities.
|
* See also for plain comment with TODO and FIXME marks for small improvement opportunities.
|
||||||
|
Loading…
Reference in New Issue
Block a user