aboutsummaryrefslogtreecommitdiffstats
path: root/main/ast_expr2.y
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-28 22:13:18 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-28 22:13:18 +0000
commitf1cfb966ccdf499e06cbd388c212042bfe37d3e6 (patch)
treebebde50bd0438bb1c41742c096581e84d950b769 /main/ast_expr2.y
parentf6ef85ceaf0835f7e6520319a8323de67bd63ff1 (diff)
Merged revisions 236713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r236713 | qwell | 2009-12-28 16:09:40 -0600 (Mon, 28 Dec 2009) | 8 lines 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/branches/1.6.2@236716 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