summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-math
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-07-14 00:29:17 +0900
committerdearblue <[email protected]>2019-07-14 00:29:17 +0900
commitc96b517ea28efe7f45a91873142d6449b2a4c59c (patch)
tree77efc7eabeb17ee601d406ade68c3be436eb2919 /mrbgems/mruby-math
parenta7be9f1cab2e9b09995bb388e1219784920610e7 (diff)
downloadmruby-c96b517ea28efe7f45a91873142d6449b2a4c59c.tar.gz
mruby-c96b517ea28efe7f45a91873142d6449b2a4c59c.zip
Error needed/conflicts configuration
The purpose is to clarify the error if there is a needed/conflicts configuration at compile time.
Diffstat (limited to 'mrbgems/mruby-math')
-rw-r--r--mrbgems/mruby-math/src/math.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c
index caa16b789..35fcd0fa6 100644
--- a/mrbgems/mruby-math/src/math.c
+++ b/mrbgems/mruby-math/src/math.c
@@ -4,6 +4,10 @@
** See Copyright Notice in mruby.h
*/
+#ifdef MRB_WITHOUT_FLOAT
+# error Conflict 'MRB_WITHOUT_FLOAT' configuration in your 'build_config.rb'
+#endif
+
#include <mruby.h>
#include <mruby/array.h>