diff options
author | Saturneric <[email protected]> | 2022-07-24 14:07:44 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-07-24 14:07:44 +0000 |
commit | 7dfe0bdb6f05efc1a5ac19d64980fd29499f63ec (patch) | |
tree | 560c0e32aef2bd23b11a745d380435cc7ab323fa /src/main.cpp | |
parent | feat(project): add rpm package support (diff) | |
download | GpgFrontend-7dfe0bdb6f05efc1a5ac19d64980fd29499f63ec.tar.gz GpgFrontend-7dfe0bdb6f05efc1a5ac19d64980fd29499f63ec.zip |
feat(project): support freebsd build
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index b51c44ea..4cb3849f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,7 +46,11 @@ INITIALIZE_EASYLOGGINGPP /** * \brief Store the jump buff and make it possible to recover from a crash. */ +#ifdef FREEBSD +sigjmp_buf recover_env; +#else jmp_buf recover_env; +#endif constexpr int CRASH_CODE = ~0; ///< |