diff --git a/lib/parallel/processor_count.rb b/lib/parallel/processor_count.rb
index <HASH>..<HASH> 100644
--- a/lib/parallel/processor_count.rb
+++ b/lib/parallel/processor_count.rb
@@ -12,7 +12,7 @@ module Parallel
     def physical_processor_count
       @physical_processor_count ||= begin
         ppc = case RbConfig::CONFIG["target_os"]
-        when /darwin1/
+        when /darwin[12]/,
           IO.popen("/usr/sbin/sysctl -n hw.physicalcpu").read.to_i
         when /linux/
           cores = {}  # unique physical ID / core ID combinations
Add support for darwin<I>