diff options
-rw-r--r-- | lib/physmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/physmem.c b/lib/physmem.c index 4bd0faa37..4770b0a13 100644 --- a/lib/physmem.c +++ b/lib/physmem.c @@ -83,7 +83,7 @@ double physmem_total () { #if defined _SC_PHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_PHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize) @@ -187,7 +187,7 @@ double physmem_available () { #if defined _SC_AVPHYS_PAGES && defined _SC_PAGESIZE - { + { /* This works on linux-gnu, solaris2 and cygwin. */ double pages = sysconf (_SC_AVPHYS_PAGES); double pagesize = sysconf (_SC_PAGESIZE); if (0 <= pages && 0 <= pagesize) |