aboutsummaryrefslogtreecommitdiffstats
path: root/main/ast_expr2.y
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-28 22:09:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-28 22:09:40 +0000
commit4cf3771b3c8e876edb91eb6f94e2638a5aed2444 (patch)
tree15aef4fceccab35e729a8c9cd7c1115e1a9b1e60 /main/ast_expr2.y
parentfb644319d18cca5bd57ef280393034a0b924a161 (diff)
Allow "REMAINDER" to function properly in expressions.
(closes issue #16427) Reported by: wdoekes Patches: ast16-reminder-remainder.patch uploaded by wdoekes (license 717) Tested by: wdoekes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236713 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/ast_expr2.y')
-rw-r--r--main/ast_expr2.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/ast_expr2.y b/main/ast_expr2.y
index dc90aaa57..10e207e8c 100644
--- a/main/ast_expr2.y
+++ b/main/ast_expr2.y
@@ -106,10 +106,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define FUNC_LOG (long double)log
#endif
-#ifdef HAVE_REMINDERL
-#define FUNC_REMINDER reminderl
-#elif defined(HAVE_REMINDER)
-#define FUNC_REMINDER (long double)reminder
+#ifdef HAVE_REMAINDERL
+#define FUNC_REMAINDER remainderl
+#elif defined(HAVE_REMAINDER)
+#define FUNC_REMAINDER (long double)remainder
#endif
#ifdef HAVE_FMODL