From 2ae6f9d1d27f699a6dcf369ba018c93ea7d5def5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 May 2013 12:20:26 +0100 Subject: 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 --- connectivity/source/parse/sqlflex.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 166bbf6e9edb..0f7c3b5963a6 100644 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -60,6 +60,7 @@ #endif /**/ #endif +#define YY_NO_UNISTD_H using namespace connectivity; @@ -110,7 +111,6 @@ OSQLScanner* xxx_pGLOBAL_SQLSCAN = NULL; %option noyywrap %option never-interactive -%option nounistd %% ABS {SQL_NEW_KEYWORD(SQL_TOKEN_ABS); } -- cgit