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

Added an explicit warning when user has old threads.pm version. #2348

This commit is contained in:
Alessandro Ranellucci
2014-12-17 14:53:36 +01:00
parent 38ecce0ce9
commit 632e3d3067
+1
View File
@@ -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;