summaryrefslogtreecommitdiff
path: root/ext/json/ext/generator/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/ext/generator/extconf.rb')
-rw-r--r--ext/json/ext/generator/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/ext/generator/extconf.rb b/ext/json/ext/generator/extconf.rb
index 32aed7f..c947501 100644
--- a/ext/json/ext/generator/extconf.rb
+++ b/ext/json/ext/generator/extconf.rb
@@ -10,4 +10,5 @@ if CONFIG['CC'] =~ /gcc/
end
end
+$defs << "-DJSON_GENERATOR"
create_makefile 'json/ext/generator'