aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-02-24 20:26:14 +0000
committerDJ Delorie <dj@redhat.com>2003-02-24 20:26:14 +0000
commit181fa2295185bcf5a113d6657fc23f723fa01a09 (patch)
tree8fb9ffab113fec7f499ef4b0fd87d62d9ffc2e1e /libiberty
parent9b1c792ed3efa16f763f40763c5b5be3242f6171 (diff)
downloadgdb-181fa2295185bcf5a113d6657fc23f723fa01a09.zip
gdb-181fa2295185bcf5a113d6657fc23f723fa01a09.tar.gz
gdb-181fa2295185bcf5a113d6657fc23f723fa01a09.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rw-r--r--libiberty/physmem.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index d15e15a..552355c 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
+ GSI_PHYSMEM.
+ (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
+
2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Check for sys/systemcfg.h and
diff --git a/libiberty/physmem.c b/libiberty/physmem.c
index 80fdd79..621e281 100644
--- a/libiberty/physmem.c
+++ b/libiberty/physmem.c
@@ -97,7 +97,7 @@ physmem_total ()
}
#endif
-#if HAVE_GETSYSINFO
+#if HAVE_GETSYSINFO && defined GSI_PHYSMEM
{ /* This works on Tru64 UNIX V4/5. */
int physmem;
@@ -174,7 +174,7 @@ physmem_available ()
}
#endif
-#if HAVE_TABLE && HAVE_SYS_TABLE_H
+#if HAVE_TABLE && defined TBL_VMSTATS
{ /* This works on Tru64 UNIX V4/5. */
struct tbl_vmstats vmstats;