summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-23 12:20:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-23 18:42:15 +0100
commitac2bac4a8d5c7e1593f19a18ca0b5a65e1a3fd82 (patch)
tree6df054961e211341381aeafa0930ac31dac05828 /idlc
parentab56ffe40c6ed9b0818791790f8756ee0bb312c2 (diff)
RHEL-5 baseline ver of flex doesn't have nounistd
lets try this hack, if it fails revert and I'll just manually update the baseline with a newer flex than flex-2.5.4a-41.fc6 Change-Id: If644489e80fc4e4cdba97808af0fe4d544d08646 (cherry picked from commit 2ae6f9d1d27f699a6dcf369ba018c93ea7d5def5)
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l
index ca5119feed6f..51204b8ade46 100644
--- a/idlc/source/scanner.l
+++ b/idlc/source/scanner.l
@@ -257,11 +257,11 @@ static void parseLineAndFile(sal_Char* pBuf)
#endif
/**/
#endif
+#define YY_NO_UNISTD_H
%}
%option noyywrap
%option never-interactive
-%option nounistd
%x DOCU
%x COMMENT