summaryrefslogtreecommitdiff
path: root/ext/thread
diff options
context:
space:
mode:
Diffstat (limited to 'ext/thread')
-rw-r--r--ext/thread/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/thread/extconf.rb b/ext/thread/extconf.rb
index efe1d5dbe5..2f984efc6d 100644
--- a/ext/thread/extconf.rb
+++ b/ext/thread/extconf.rb
@@ -1,5 +1,7 @@
require 'mkmf'
+enable_config('fastthread', true) or exit
+
if with_config('mem-pools', true)
$CPPFLAGS << ' -DUSE_MEM_POOLS'
end