1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-21 18:08:01 +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:
Rui Ueyama 2021-07-16 01:08:34 +09:00
parent 7937360c6a
commit 3a7b0525c7

View File

@ -257,7 +257,8 @@
#define __TBB_CPP20_COMPARISONS_PRESENT __TBB_CPP20_PRESENT
#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.
* See also for plain comment with TODO and FIXME marks for small improvement opportunities.