diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-14 00:59:35 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-14 00:59:35 +0900 |
| commit | 764a791f439bb843838239909d98b26ac90a9e02 (patch) | |
| tree | 81f6a5209fe9d28e151ce4f082878324f9708f39 /src/init.c | |
| parent | 91a665905a8781373480f003c2e15cef9fa3604c (diff) | |
| download | mruby-764a791f439bb843838239909d98b26ac90a9e02.tar.gz mruby-764a791f439bb843838239909d98b26ac90a9e02.zip | |
make Math module optional
Diffstat (limited to 'src/init.c')
| -rw-r--r-- | src/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c index 17ce24313..1f7d4d364 100644 --- a/src/init.c +++ b/src/init.c @@ -57,7 +57,9 @@ mrb_init_core(mrb_state *mrb) mrb_init_exception(mrb); mrb_init_print(mrb); mrb_init_time(mrb); +#ifdef INCLUDE_MATH mrb_init_math(mrb); +#endif mrb_init_mrblib(mrb); |
