summaryrefslogtreecommitdiff
path: root/libiberty/physmem.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-24 19:31:49 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-24 19:31:49 +0000
commit5833978fa889c864f614fe02b9a26e87268fae51 (patch)
tree00340b171ad3f54fc694b205542025e44a7a97a2 /libiberty/physmem.c
parent547567ae5d8d9c346f7dd496225376b255207023 (diff)
downloadgcc-5833978fa889c864f614fe02b9a26e87268fae51.tar.gz
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63373 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/physmem.c')
-rw-r--r--libiberty/physmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/physmem.c b/libiberty/physmem.c
index 80fdd7975e9..621e281f78a 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;