diff options
-rw-r--r-- | lib/physmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/physmem.c b/lib/physmem.c index 4770b0a13..7aa547425 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -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 () |