Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb define _KMEMUSER earlier for mips
details: https://anonhg.NetBSD.org/src/rev/19158ce42559
branches: trunk
changeset: 343433:19158ce42559
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 03 19:03:40 2016 +0000
description:
define _KMEMUSER earlier for mips
diffstat:
external/gpl3/gdb/dist/gdb/configure | 2 +-
external/gpl3/gdb/dist/gdb/configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 447b9494eb9a -r 19158ce42559 external/gpl3/gdb/dist/gdb/configure
--- a/external/gpl3/gdb/dist/gdb/configure Wed Feb 03 17:50:12 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/configure Wed Feb 03 19:03:40 2016 +0000
@@ -12264,8 +12264,8 @@
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#define _KMEMUSER
#include <sys/param.h>
-#define _KMEMUSER
#include <sys/lwp.h>
int
main ()
diff -r 447b9494eb9a -r 19158ce42559 external/gpl3/gdb/dist/gdb/configure.ac
--- a/external/gpl3/gdb/dist/gdb/configure.ac Wed Feb 03 17:50:12 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/configure.ac Wed Feb 03 19:03:40 2016 +0000
@@ -1481,8 +1481,8 @@
# 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
+[AC_TRY_COMPILE([#define _KMEMUSER
+#include <sys/param.h>
#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
Home |
Main Index |
Thread Index |
Old Index