mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
968c69dae9
commit
997770f595
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module ActiveSupport
|
|||
attr_accessor :payload
|
||||
|
||||
def self.clock_gettime_supported? # :nodoc:
|
||||
defined?(Process::CLOCK_PROCESS_CPUTIME_ID) &&
|
||||
defined?(Process::CLOCK_THREAD_CPUTIME_ID) &&
|
||||
!Gem.win_platform? &&
|
||||
!RUBY_PLATFORM.match?(/solaris/i)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue