summaryrefslogtreecommitdiff
path: root/res/ael/ael.flex
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-06-03 08:39:02 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-06-03 09:06:08 +0300
commit797695c5ccbfb242f763d552921a23ce03b779ff (patch)
tree5512a2dc05bfdc31b7b5ac431ce69824a5896904 /res/ael/ael.flex
parent48843a107d050eff2e2c7078078ffee4e782a81b (diff)
Make use of GLOB_BRACE and GLOB_NOMAGIC optional
These flags are non-portable GNU extensions. Make their use optional. This fixes complication error on e.g. musl c-library based systems. Change-Id: I0aa06efc62aa8995f091445c8b762a75a91042f3
Diffstat (limited to 'res/ael/ael.flex')
-rw-r--r--res/ael/ael.flex6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/ael/ael.flex b/res/ael/ael.flex
index b1b2bd76d..4e87f3a40 100644
--- a/res/ael/ael.flex
+++ b/res/ael/ael.flex
@@ -80,6 +80,12 @@ ASTERISK_REGISTER_FILE()
#if !defined(GLOB_ABORTED)
#define GLOB_ABORTED GLOB_ABEND
#endif
+#if !defined(GLOB_BRACE)
+#define GLOB_BRACE 0
+#endif
+#if !defined(GLOB_NOMAGIC)
+#define GLOB_NOMAGIC 0
+#endif
#include "asterisk/logger.h"
#include "asterisk/utils.h"