about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 2c6ee707..429c57d2 100644
--- a/include/config.h
+++ b/include/config.h
@@ -61,12 +61,15 @@
 
 /* Default memory limit for child process (MB): */
 
-#ifndef WORD_SIZE_64
-#define MEM_LIMIT 25
+#ifndef __NetBSD__
+# ifndef WORD_SIZE_64
+#  define MEM_LIMIT 25
+# else
+#  define MEM_LIMIT 50
+# endif                                                    /* ^!WORD_SIZE_64 */
 #else
-#define MEM_LIMIT 50
-#endif                                                    /* ^!WORD_SIZE_64 */
-
+# define MEM_LIMIT 200
+#endif
 /* Default memory limit when running in QEMU mode (MB): */
 
 #define MEM_LIMIT_QEMU 200