<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,12 +11,12 @@ begin
   #   http://ph7spot.com/articles/system_timer
   # We don't want to bother trying to load SystemTimer on jruby and
   # ruby 1.9+.
-  if !defined?(RUBY_ENGINE)
-    require 'system_timer'
-    MemCacheTimer = SystemTimer
-  else
+  if defined?(JRUBY_VERSION) || (RUBY_VERSION &gt;= '1.9')
     require 'timeout'
     MemCacheTimer = Timeout
+  else
+    require 'system_timer'
+    MemCacheTimer = SystemTimer
   end
 rescue LoadError =&gt; e
   puts &quot;[memcache-client] Could not load SystemTimer gem, falling back to Ruby's slower/unsafe timeout library: #{e.message}&quot;</diff>
      <filename>lib/memcache.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d5ae15d362c379c3a6692e2d5b9beae545392cba</id>
    </parent>
  </parents>
  <author>
    <name>Mike Perham</name>
    <login>mperham</login>
    <email>mperham@gmail.com</email>
  </author>
  <url>http://github.com/mperham/memcache-client/commit/4b9f97fb793595000bf2b9a51cd0404f2d1c370e</url>
  <id>4b9f97fb793595000bf2b9a51cd0404f2d1c370e</id>
  <committed-date>2009-05-05T11:20:16-07:00</committed-date>
  <authored-date>2009-05-05T11:20:16-07:00</authored-date>
  <message>Update load logic to support REE (which defines RUBY_ENGINE)</message>
  <tree>45a28667c6b58d8b5366b3b05f6df9db1fb922de</tree>
  <committer>
    <name>Mike Perham</name>
    <login>mperham</login>
    <email>mperham@gmail.com</email>
  </committer>
</commit>
