Skip to content

Commit 2f59ee0

Browse files
author
jef
committed
apply #2813
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13740 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8cdbd17 commit 2f59ee0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/qgssearchstringlexer.ll

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
%option noyywrap
2121
%option case-insensitive
22+
%option never-interactive
2223

2324
// ensure that lexer will be 8-bit (and not just 7-bit)
2425
%option 8bit
@@ -34,6 +35,10 @@
3435
// which doesn't in MSVC compiler
3536
#define YY_NEVER_INTERACTIVE 1
3637

38+
#ifdef _MSC_VER
39+
#define YY_NO_UNISTD_H
40+
#endif
41+
3742
%}
3843

3944
white [ \t\r\n]+

0 commit comments

Comments
 (0)