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
This commit is contained in:
Rainer Orth 2003-02-24 19:31:49 +00:00 committed by Rainer Orth
parent 201b9f2a5d
commit 7f9fc00642
2 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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;