summarylogtreecommitdiffstats
path: root/STLsurfaceFormatASCII_L.patch
blob: 33596119afb77d91f8defb6f7e8ad3de872a19ef (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/OpenFOAM-3.0.1/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L
+++ src/OpenFOAM-3.0.1/src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L
@@ -50,7 +50,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()