1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-10 19:26:38 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Marc-Antoine Perennou
4fc27d2195 fix build with libc++
Otherwise fails with:

/usr/include/c++/v1/__threading_support:370:43: error: use of undeclared identifier 'PTHREAD_MUTEX_RECURSIVE'

200809L triggers __USE_XOPEN2K8 to be defined which enables pthread.h to
define the missing identifier.

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2022-01-24 14:29:03 +01:00
Rui Ueyama
c3466b9021 Move a use of strerror_r to a separate file 2022-01-13 13:55:34 +09:00