diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-02-24 19:31:49 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-02-24 19:31:49 +0000 |
commit | 7f9fc00642291da4a647220498d8bd85e6dbadc8 (patch) | |
tree | 00340b171ad3f54fc694b205542025e44a7a97a2 /libiberty/physmem.c | |
parent | 201b9f2a5dd24779e8553674d92a76e9fdf8cd28 (diff) | |
download | gcc-7f9fc00642291da4a647220498d8bd85e6dbadc8.zip gcc-7f9fc00642291da4a647220498d8bd85e6dbadc8.tar.gz gcc-7f9fc00642291da4a647220498d8bd85e6dbadc8.tar.bz2 |
physmem.c (physmem_total): Test for GSI_PHYSMEM.
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
GSI_PHYSMEM.
(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
From-SVN: r63373
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 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; |