summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-complex
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-03-22 10:59:35 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-03-22 10:59:35 +0900
commit68cf8346cd250c1a47a807f19e1289910f55ecb7 (patch)
tree6cef000fcd434bcbf8dc3aa74dc88de01301fc4c /mrbgems/mruby-complex
parent384865997de9a994199da665f352eb83f66b8506 (diff)
downloadmruby-68cf8346cd250c1a47a807f19e1289910f55ecb7.tar.gz
mruby-68cf8346cd250c1a47a807f19e1289910f55ecb7.zip
Use global defines for `Rational` and `Complex`.
Diffstat (limited to 'mrbgems/mruby-complex')
-rw-r--r--mrbgems/mruby-complex/mrbgem.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-complex/mrbgem.rake b/mrbgems/mruby-complex/mrbgem.rake
index 6c4b629ca..cd81ecd02 100644
--- a/mrbgems/mruby-complex/mrbgem.rake
+++ b/mrbgems/mruby-complex/mrbgem.rake
@@ -2,6 +2,6 @@ MRuby::Gem::Specification.new('mruby-complex') do |spec|
spec.license = 'MIT'
spec.author = 'mruby developers'
spec.summary = 'Complex class'
- spec.build.cc.defines << "MRB_USE_COMPLEX"
+ spec.build.defines << "MRB_USE_COMPLEX"
spec.add_dependency 'mruby-math', core: 'mruby-math'
end