From 8408f56d6fe2bc7d830edd10cc53ea0e951fbfeb Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 21 Sep 2014 14:01:58 +0300 Subject: [PATCH] Fix large cache support on amd64 arch pt2. --- src/preferences/advancedsettings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/advancedsettings.h b/src/preferences/advancedsettings.h index 517dc0cac..a2d0c27e3 100644 --- a/src/preferences/advancedsettings.h +++ b/src/preferences/advancedsettings.h @@ -176,7 +176,7 @@ private slots: spin_cache.setMinimum(0); // When build as 32bit binary, set the maximum at less than 2GB to prevent crashes. // These macros may not be available on compilers other than MSVC and GCC -#if !defined(_M_X64) || !defined(__amd64__) +#if !defined(_M_X64) && !defined(__amd64__) //1800MiB to leave 248MiB room to the rest of program data in RAM spin_cache.setMaximum(1800); #else