aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-03-28 11:18:27 +0000
committerNick Clifton <nickc@redhat.com>2011-03-28 11:18:27 +0000
commit5b806d279379d653094d290ae57498ad4ddd6cbf (patch)
treed3966f050b1757f3c84268f6b56c4c1ff3c23d58 /ld/ldlex.l
parentf31d24a0a1236c774e77b9bdb69eab870dddb8e9 (diff)
downloadbinutils-5b806d279379d653094d290ae57498ad4ddd6cbf.zip
binutils-5b806d279379d653094d290ae57498ad4ddd6cbf.tar.gz
binutils-5b806d279379d653094d290ae57498ad4ddd6cbf.tar.bz2
Add support for DragonFlyBSD target.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index c77357b..a1c9548 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -60,7 +60,9 @@ const char *lex_string = NULL;
#undef YY_INPUT
#define YY_INPUT(buf,result,max_size) result = yy_input (buf, max_size)
+#ifndef YY_NO_UNPUT
#define YY_NO_UNPUT
+#endif
#define MAX_INCLUDE_DEPTH 10
static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];