freebsd 14 build fix proposal.
seems to have introduced finally more linux api cpu affinity (sched_* family) compatibility detected at configure time thus adjusting accordingly.
This commit is contained in:
parent
3b3257a709
commit
113e8e68e1
@ -652,6 +652,7 @@ case "${host}" in
|
||||
SYM_PREFIX="_"
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
JE_APPEND_VS(CPPFLAGS, -D_BSD_SOURCE)
|
||||
abi="elf"
|
||||
AC_DEFINE([JEMALLOC_SYSCTL_VM_OVERCOMMIT], [ ])
|
||||
force_lazy_lock="1"
|
||||
|
@ -34,6 +34,10 @@
|
||||
# include <pthread.h>
|
||||
# if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
# include <pthread_np.h>
|
||||
# include <sched.h>
|
||||
# if defined(__FreeBSD__)
|
||||
# define cpu_set_t cpuset_t
|
||||
# endif
|
||||
# endif
|
||||
# include <signal.h>
|
||||
# ifdef JEMALLOC_OS_UNFAIR_LOCK
|
||||
|
Loading…
Reference in New Issue
Block a user