Commit 7f9fc006 by Rainer Orth Committed by Rainer Orth

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
parent 201b9f2a
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> 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Check for sys/systemcfg.h and * configure.in: Check for sys/systemcfg.h and
......
...@@ -97,7 +97,7 @@ physmem_total () ...@@ -97,7 +97,7 @@ physmem_total ()
} }
#endif #endif
#if HAVE_GETSYSINFO #if HAVE_GETSYSINFO && defined GSI_PHYSMEM
{ /* This works on Tru64 UNIX V4/5. */ { /* This works on Tru64 UNIX V4/5. */
int physmem; int physmem;
...@@ -174,7 +174,7 @@ physmem_available () ...@@ -174,7 +174,7 @@ physmem_available ()
} }
#endif #endif
#if HAVE_TABLE && HAVE_SYS_TABLE_H #if HAVE_TABLE && defined TBL_VMSTATS
{ /* This works on Tru64 UNIX V4/5. */ { /* This works on Tru64 UNIX V4/5. */
struct tbl_vmstats vmstats; struct tbl_vmstats vmstats;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment