add cygwin as windows specific behaviour

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2673 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2013-02-09 12:38:05 +00:00
parent 3054cfad4e
commit 821999589a

View File

@@ -358,7 +358,7 @@ PRESENCE_DoLocalPingScan($$)
my $retcode;
my $return;
my $temp;
if($^O =~ m/Win/)
if($^O =~ m/(Win|cygwin)/)
{
eval "require Net::Ping;";
my $pingtool = Net::Ping->new("syn");