mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Added an explicit warning when user has old threads.pm version. #2348
This commit is contained in:
		
							parent
							
								
									38ecce0ce9
								
							
						
					
					
						commit
						632e3d3067
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,7 @@ our $have_threads;
 | 
			
		|||
BEGIN {
 | 
			
		||||
    use Config;
 | 
			
		||||
    $have_threads = $Config{useithreads} && eval "use threads; use threads::shared; use Thread::Queue; 1";
 | 
			
		||||
    warn "threads.pm >= 1.96 is required, please update\n" if $have_threads && $threads::VERSION < 1.96;
 | 
			
		||||
    
 | 
			
		||||
    ### temporarily disable threads if using the broken Moo version
 | 
			
		||||
    use Moo;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue