[gegl/fix-osx-build] Fix osx build by adding available/total memory stat



commit b610aba1204f401090f2e43b2bfcf2882083cfdd
Author: Alex Samorukov <samm net-art cz>
Date:   Mon Apr 8 07:21:37 2019 +0000

    Fix osx build by adding available/total memory stat

 gegl/gegl-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 0d7dfcb10..1fda008c0 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -270,7 +270,7 @@ gegl_config_class_init (GeglConfigClass *klass)
                               + vm_stat.compressor_page_count
 # endif
                              ) * page_size;
-      mach_port_deallocate(mach_task_self(), host);
+      mach_port_deallocate (mach_task_self (), host);
     }
 #else
     mem_total = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]