aboutsummaryrefslogtreecommitdiffstats
path: root/ext/date/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/extconf.rb')
-rw-r--r--ext/date/extconf.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb
index a4f243ee10..8938df13b3 100644
--- a/ext/date/extconf.rb
+++ b/ext/date/extconf.rb
@@ -1,4 +1,9 @@
# frozen_string_literal: true
require 'mkmf'
+
config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
+
+have_var("timezone", "time.h")
+have_var("altzone", "time.h")
+
create_makefile('date_core')