From 6679e2575c58684b43ec034c4d174765967ac23d Mon Sep 17 00:00:00 2001 From: dimitr Date: Wed, 7 May 2003 07:25:38 +0000 Subject: [PATCH] Corrected default value, as suggested by Nickolay. --- src/common/config/config.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/config/config.cpp b/src/common/config/config.cpp index ba970d77d4..5ee1d159eb 100644 --- a/src/common/config/config.cpp +++ b/src/common/config/config.cpp @@ -48,8 +48,10 @@ const ConfigImpl::ConfigEntry ConfigImpl::entries[] = {TYPE_INTEGER, "SortMemBlockSize", (ConfigValue) 1048576}, // bytes #ifdef SUPERSERVER {TYPE_INTEGER, "SortMemUpperLimit", (ConfigValue) 67108864}, // bytes -#else +#elif defined(WIN_NT) // win32 CS {TYPE_INTEGER, "SortMemUpperLimit", (ConfigValue) 8388608}, // bytes +#else // non-win32 CS + {TYPE_INTEGER, "SortMemUpperLimit", (ConfigValue) 0}, // bytes #endif {TYPE_BOOLEAN, "RemoteFileOpenAbility", (ConfigValue) false}, {TYPE_INTEGER, "GuardianOption", (ConfigValue) 1},