diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-10 21:46:56 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-10 21:46:56 +0000 |
commit | 0eb21c8f2d8ce292b11941e74ed5bca18b6354d6 (patch) | |
tree | 53726aa04261f72d5fda00bd7e315437501cfa25 /res/Makefile | |
parent | 8358b5cbc05a6debe45b4ccd9bdf14ef52a62a25 (diff) |
Merged revisions 97889 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97889 | murf | 2008-01-10 14:37:10 -0700 (Thu, 10 Jan 2008) | 1 line
Applied the same fixes for ael.flex as was done in 97849 for ast_expr2.fl; overrode the normally generate yyfree func with our own version that checks the pointer for non-null before passing to free(). Also takes care of a little problem with 2.5.33 and the use of the __STDC_VERSION__ macro.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97890 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/Makefile')
-rw-r--r-- | res/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index cfac3183a..72f4e8ae0 100644 --- a/res/Makefile +++ b/res/Makefile @@ -41,6 +41,7 @@ $(if $(filter res_ael_share,$(EMBEDDED_MODS)),modules.link,res_ael_share.so): ae ael/ael_lex.c: (cd ael; flex ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c) + (cd ael; sed 's@#if __STDC_VERSION__ >= 199901L@#if !defined __STDC_VERSION__ || __STDC_VERSION__ >= 199901L@' ael_lex.c > zz; mv zz ael_lex.c) ael/ael.tab.c ael/ael.tab.h: (cd ael; bison -v -d ael.y) |