(ARRAY_SIZE): Define it.

This commit is contained in:
Jim Meyering committed 2003-03-05 11:06:18 +00:00
1 parent 5bc14b90c6
commit 09fb1e2d6e
1 file changed
+2
+2
View File
@@ -78,6 +78,8 @@ typedef WINBOOL (WINAPI *PFN_MS_EX) (lMEMORYSTATUSEX*);
#include "physmem.h"
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
/* Return the total amount of physical memory. */
double
physmem_total ()