mirror of https://github.com/vitalif/Slic3r
Previous commit broke everything
parent
cbd77cd71b
commit
4dd236d025
|
@ -15,9 +15,10 @@ sub debugf {
|
|||
}
|
||||
|
||||
# load threads before Moo as required by it
|
||||
our $have_threads;
|
||||
BEGIN {
|
||||
use Config;
|
||||
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
|
||||
$have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
|
||||
}
|
||||
|
||||
use Moo;
|
||||
|
|
Loading…
Reference in New Issue