[gegl] gegl-config: remove extra #ifdef
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-config: remove extra #ifdef
- Date: Thu, 4 Apr 2019 21:08:38 +0000 (UTC)
commit fe756be6f0c776a45201a61f67d3e5e42f6398de
Author: Edward E <develinthedetail gmail com>
Date: Fri Mar 29 12:07:00 2019 -0500
gegl-config: remove extra #ifdef
gegl/gegl-config.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 233c6e1d6..584b7fc5f 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -223,7 +223,7 @@ gegl_config_class_init (GeglConfigClass *klass)
long mem_total = default_tile_cache_size;
long mem_min = 512 << 20; // 512mb
long mem_available = mem_min;
-#ifdef G_OS_WIN32
+
#ifdef G_OS_WIN32
# if defined(_MSC_VER) && (_MSC_VER <= 1200)
MEMORYSTATUS memory_status;
@@ -244,7 +244,6 @@ gegl_config_class_init (GeglConfigClass *klass)
mem_available = memory_status.ullAvailPhys;
}
# endif
-#endif
#else
mem_total = sysconf (_SC_PHYS_PAGES) * sysconf (_SC_PAGESIZE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]