diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-24 19:31:49 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-24 19:31:49 +0000 |
commit | 5833978fa889c864f614fe02b9a26e87268fae51 (patch) | |
tree | 00340b171ad3f54fc694b205542025e44a7a97a2 /libiberty/physmem.c | |
parent | 547567ae5d8d9c346f7dd496225376b255207023 (diff) | |
download | gcc-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.c | 4 |
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; |