summaryrefslogtreecommitdiff
path: root/translate/grt/config/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'translate/grt/config/linux.c')
-rw-r--r--translate/grt/config/linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/translate/grt/config/linux.c b/translate/grt/config/linux.c
index e586e54..cd495fe 100644
--- a/translate/grt/config/linux.c
+++ b/translate/grt/config/linux.c
@@ -37,6 +37,11 @@
#define EXTEND_STACK 1
#define STACK_SIGNAL SIGSEGV
#endif
+#ifdef __FreeBSD__
+/* If set, SIGSEGV is caught in order to automatically grow the stacks. */
+#define EXTEND_STACK 1
+#define STACK_SIGNAL SIGSEGV
+#endif
#ifdef __APPLE__
/* If set, SIGSEGV is caught in order to automatically grow the stacks. */
#define EXTEND_STACK 1