summaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-03-28 11:18:20 +0000
committerNick Clifton <nickc@redhat.com>2011-03-28 11:18:20 +0000
commit9f9a0b1a43aeb6c5a10b20b06d92d93220006386 (patch)
tree37afca48cf99a1a6ad491e7afccc1584a6bb6834 /ld/ldlex.l
parentb6d40962544d522ac71d42dca804ea686a650f4d (diff)
downloadbinutils-redhat-9f9a0b1a43aeb6c5a10b20b06d92d93220006386.tar.gz
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 c77357b732..a1c954837a 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];