Changeset: 1563953abd19 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1563953abd19
Modified Files:
        common/options/monet_options.c
Branch: Jan2014
Log Message:

fix built-in default for gdk_vmtrim such that we indeed get desired behavior:

on 32-bit systems, the default is (remains) gdk_vmtrim=yes,
on 64-bit systens, the default (now) is     gdk_vmtrim=no


diffs (17 lines):

diff --git a/common/options/monet_options.c b/common/options/monet_options.c
--- a/common/options/monet_options.c
+++ b/common/options/monet_options.c
@@ -250,7 +250,13 @@ mo_builtin_settings(opt **Set)
        i++;
        set[i].kind = opt_builtin;
        set[i].name = strdup("gdk_vmtrim");
+#if SIZEOF_VOID_P == 4
+       /* 32 bit architecture */
        set[i].value = strdup("yes");
+#else
+       /* 64 bit architecture */
+       set[i].value = strdup("no");
+#endif
        i++;
        set[i].kind = opt_builtin;
        set[i].name = strdup("monet_prompt");
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to