summarylogtreecommitdiffstats
path: root/readSTLASCII_L.patch
blob: 9092aa00429894e664004e77fea242ea560dba8c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/OpenFOAM-3.0.1/src/triSurface/triSurface/interfaces/STL/readSTLASCII.L
+++ src/OpenFOAM-3.0.1/src/triSurface/triSurface/interfaces/STL/readSTLASCII.L
@@ -55,7 +55,7 @@
 // It is called by yylex but is not used as the mechanism to change file.
 // See <<EOF>>
 //! \cond dummy
-#if YY_FLEX_SUBMINOR_VERSION < 34
+#if YY_FLEX_SUBMINOR_VERSION < 34 && YY_FLEX_MINOR_VERSION < 6
 extern "C" int yywrap()
 #else
 int yyFlexLexer::yywrap()