1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fix build for unixes

This commit is contained in:
tamasmeszaros
2021-06-17 22:21:34 +02:00
parent e3000c5305
commit d3de14170a
+5
View File
@@ -4,6 +4,11 @@
#ifdef _MSC_VER
#include "TryCatchSignalSEH.hpp"
#else
#include <csignal>
using SignalT = decltype (SIGSEGV);
template<class TryFn, class CatchFn, int N>
void try_catch_signal(const SignalT (&/*sigs*/)[N], TryFn &&/*fn*/, CatchFn &&/*cfn*/)
{