diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-23 12:20:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-23 13:57:20 +0100 |
commit | 2ae6f9d1d27f699a6dcf369ba018c93ea7d5def5 (patch) | |
tree | 183cc1cc59beebd9294c02071ad429deb87afb01 /l10ntools | |
parent | fd5a9f20ef7b68439820a385f4527ba94a5a0d03 (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
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/cfglex.l | 2 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 2 | ||||
-rw-r--r-- | l10ntools/source/xrmlex.l | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l index a5c698881bfe..501debd9ee9d 100644 --- a/l10ntools/source/cfglex.l +++ b/l10ntools/source/cfglex.l @@ -53,6 +53,7 @@ #elif defined _MSC_VER #pragma warning(push, 1) #endif +#define YY_NO_UNISTD_H int yycolumn = 1; #define YY_USER_ACTION yycolumn += yyleng; @@ -66,7 +67,6 @@ int bText=0; %option yylineno %option never-interactive -%option nounistd %p 24000 %e 1200 diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 0f2195539057..91742a11c2ff 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -54,6 +54,7 @@ #elif defined _MSC_VER #pragma warning(push, 1) #endif +#define YY_NO_UNISTD_H /* external functions (C++ code, declared as extern "C" */ extern "C" int WorkOnTokenSet( int, char* ); @@ -68,7 +69,6 @@ void YYWarning(); %option yylineno %option never-interactive -%option nounistd %p 24000 %e 1200 diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l index 7f28d3f68a7c..73e3babedfbb 100644 --- a/l10ntools/source/xrmlex.l +++ b/l10ntools/source/xrmlex.l @@ -53,6 +53,7 @@ #elif defined _MSC_VER #pragma warning(push, 1) #endif +#define YY_NO_UNISTD_H /* external functions (C++ code, declared as extern "C" */ extern "C" int WorkOnTokenSet( int, char* ); @@ -74,7 +75,6 @@ int bText=0; %option yylineno %option never-interactive -%option nounistd %p 24000 %e 1200 |