Fix windows platform detection

git-svn-id: file:///home/svn/framework3/trunk@11012 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-11-12 19:46:33 +00:00
parent 29073a519a
commit 375a655317
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ ENABLE_PROCESSED_INPUT = 1
def self.is_windows
return @@is_windows if @@is_windows
@@is_windows = (RUBY_PLATFORM =~ /mswin32/) ? true : false
@@is_windows = (RUBY_PLATFORM =~ /mswin32|mingw32/) ? true : false
end
def self.is_cygwin