Detect CYGWIN

This commit is contained in:
Greg Roach 2015-11-10 11:48:25 +00:00
parent cd7dc15ed8
commit d220a9ac79

View file

@ -777,7 +777,7 @@ sub os_setup {
}
}
else {
if ( $os =~ /Linux/ ) {
if ( $os =~ /Linux|CYGWIN/ ) {
$physical_memory =
`grep -i memtotal: /proc/meminfo | awk '{print \$2}'`
or memerror;