#define _KMEMUSER so that the struct lwp test works.
This commit is contained in:
parent
b5a43e29a1
commit
5ecf4f1c7e
1
external/gpl3/gdb/dist/gdb/configure
vendored
1
external/gpl3/gdb/dist/gdb/configure
vendored
@ -13009,6 +13009,7 @@ else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <sys/param.h>
|
||||
#define _KMEMUSER
|
||||
#include <sys/lwp.h>
|
||||
int
|
||||
main ()
|
||||
|
1
external/gpl3/gdb/dist/gdb/configure.ac
vendored
1
external/gpl3/gdb/dist/gdb/configure.ac
vendored
@ -1137,6 +1137,7 @@ AC_CHECK_MEMBERS([struct thread.td_pcb], [], [],
|
||||
# See if <sys/lwp.h> defines `struct lwp`.
|
||||
AC_CACHE_CHECK([for struct lwp], gdb_cv_struct_lwp,
|
||||
[AC_TRY_COMPILE([#include <sys/param.h>
|
||||
#define _KMEMUSER
|
||||
#include <sys/lwp.h>], [struct lwp l;],
|
||||
gdb_cv_struct_lwp=yes, gdb_cv_struct_lwp=no)])
|
||||
if test $gdb_cv_struct_lwp = yes; then
|
||||
|
Loading…
Reference in New Issue
Block a user