Skip to content

Commit 5cca900

Browse files
committed
Upgrade ppport.h and adjust makefile
1 parent 590e36f commit 5cca900

File tree

2 files changed

+789
-569
lines changed

2 files changed

+789
-569
lines changed

Makefile.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ my %watchers = (
447447
# check if dependency is wanted and/or available
448448
if (exists $watchers{$^O} && ! $ENV{PERL_FNS_NO_OPT}) {
449449
if ($native_watcher) { $watchdeps = $watchers{$^O}; }
450-
elsif (!eval "require $watchers{$^O}->[0]; return 1;") {
450+
elsif (!eval { require $watchers{$^O}->[0]; return 1; }) {
451451
warn "Consider installing $watchers{$^O}->[0]\n";
452452
warn "Or configure with `--native-watcher` option\n";
453453
}

0 commit comments

Comments
 (0)