aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-12-22 10:30:36 +0000
committerSaturneric <[email protected]>2022-12-22 10:30:36 +0000
commit3cb623b07e50d9e95dace9966dc0337e72f57dc2 (patch)
treedfe994f28f0a6dee6151febf3b50f22adceab74e /src/signal.cpp
parentMerge pull request #70 from saturneric/dev/2.0.8/saturneric (diff)
parentfix: continue to solve ubuntu 18.04 build issues (diff)
downloadGpgFrontend-2.0.10.tar.gz
GpgFrontend-2.0.10.zip
fix: solve conflictsv2.0.10
Diffstat (limited to '')
-rw-r--r--src/signal.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 135bdead..bd4cfdb1 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -30,7 +30,11 @@
#include "GpgFrontend.h"
+#ifdef FREEBSD
+extern sigjmp_buf recover_env;
+#else
extern jmp_buf recover_env;
+#endif
/**
* @brief handle the signal caught.