summaryrefslogtreecommitdiff
path: root/main/ast_expr2.y
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2009-12-28 22:09:40 +0000
committerJason Parker <jparker@digium.com>2009-12-28 22:09:40 +0000
commit21954cea7d9a7615e5aba26010c1b7835638fe77 (patch)
tree15aef4fceccab35e729a8c9cd7c1115e1a9b1e60 /main/ast_expr2.y
parent06dc97772e29e6679dff38052ea94a14411a69fb (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: https://origsvn.digium.com/svn/asterisk/trunk@236713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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