summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-init.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kbx/keybox-init.c b/kbx/keybox-init.c
index c83c4712f..439d1c477 100644
--- a/kbx/keybox-init.c
+++ b/kbx/keybox-init.c
@@ -28,7 +28,13 @@
#include "../common/sysutils.h"
#include "../common/mischelp.h"
-static unsigned int ll_buffer_size = 128;
+#ifdef HAVE_W32_SYSTEM
+# define DEFAULT_LL_BUFFER_SIZE 128
+#else
+# define DEFAULT_LL_BUFFER_SIZE 64
+#endif
+
+static unsigned int ll_buffer_size = DEFAULT_LL_BUFFER_SIZE;
static KB_NAME kb_names;