mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
This commit is contained in:
parent
67129c8383
commit
9c060a59b4
2 changed files with 8 additions and 1 deletions
|
@ -376,6 +376,8 @@ nucomp_canonicalization(int f)
|
|||
{
|
||||
canonicalization = f;
|
||||
}
|
||||
#else
|
||||
# define canonicalization <<<No canonicalization>>>
|
||||
#endif
|
||||
|
||||
inline static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue