Fix windows platform detection
git-svn-id: file:///home/svn/framework3/trunk@11012 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
29073a519a
commit
375a655317
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue