--- source/global/management/include/G4Backtrace.hh.orig 2023-12-10 14:41:01 UTC +++ source/global/management/include/G4Backtrace.hh @@ -114,7 +114,7 @@ using G4ResultOf_t = std::invoke_result_t= 700 || _POSIX_C_SOURCE >= 200809L +# if (_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L) && !defined(__FreeBSD__) # define G4PSIGINFO_AVAILABLE 1 # else # define G4PSIGINFO_AVAILABLE 0