Skip to content

Commit 15830d3

Browse files
authored
Merge pull request #5454 from tonhuisman/bugfix/Rules-new-functions-missing-ifdef-check
[Bugfix] Compilation error fix for custom IR build
2 parents c42da51 + a205e5a commit 15830d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/src/Helpers/Rules_calculate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ bool RulesCalculate_t::is_unary_operator(char c)
7373
*/
7474
}
7575

76-
#ifndef LIMIT_BUILD_SIZE
76+
#if !defined(LIMIT_BUILD_SIZE) && FEATURE_TRIGONOMETRIC_FUNCTIONS_RULES
7777
// binary = 2-argument functions
7878
bool RulesCalculate_t::is_binary_operator(char c)
7979
{
8080
return (c >= static_cast<char>(BinaryOperator::ArcTan2) &&
8181
c <= static_cast<char>(BinaryOperator::FMod));
8282
}
83-
#endif // ifndef LIMIT_BUILD_SIZE
83+
#endif // if !defined(LIMIT_BUILD_SIZE) && FEATURE_TRIGONOMETRIC_FUNCTIONS_RULES
8484

8585
// quinary = 5-argument functions
8686
bool RulesCalculate_t::is_quinary_operator(char c)

0 commit comments

Comments
 (0)