diff options
Diffstat (limited to 'main/ast_expr2.fl')
-rw-r--r-- | main/ast_expr2.fl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl index f446606f0..6fca88293 100644 --- a/main/ast_expr2.fl +++ b/main/ast_expr2.fl @@ -22,12 +22,10 @@ * \brief Dialplan Expression Lexical Scanner */ -#include "asterisk.h" - #include <sys/types.h> #include <stdio.h> -#ifndef STANDALONE +#if !defined(STANDALONE) ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #else #ifndef __USE_ISOC99 @@ -276,7 +274,7 @@ int ast_expr(char *expr, char *buf, int length, struct ast_channel *chan) return_value = (res_length <= length) ? res_length : length; } else { if (io.val->u.s) -#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE_AEL) +#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE) strncpy(buf, io.val->u.s, length - 1); #else /* !STANDALONE && !LOW_MEMORY */ ast_copy_string(buf, io.val->u.s, length); |