mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fix build for unixes
This commit is contained in:
		
							parent
							
								
									e3000c5305
								
							
						
					
					
						commit
						d3de14170a
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -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*/) | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros