summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-10 05:05:50 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-10 05:05:50 (GMT)
commit9c060a59b42f038e55e8b3662ae6a8db99fae67d (patch)
tree01a0ae24d65bb97f78fd99ce6df2742e076df1eb /complex.c
parent67129c8383f382eddd805411ef619d5c8c258dc3 (diff)
rational.c: conditionally defined variable
* rational.c (numeric_quo): variable 'canonicalization' is defined conditionally by CANON (and CANONICALIZATION_FOR_MATHN). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/complex.c b/complex.c
index 3e9d631..c6a703e 100644
--- a/complex.c
+++ b/complex.c
@@ -376,6 +376,8 @@ nucomp_canonicalization(int f)
{
canonicalization = f;
}
+#else
+# define canonicalization <<<No canonicalization>>>
#endif
inline static void