summarylogtreecommitdiffstats
path: root/fluent3DMeshToFoam_L.patch
blob: d7b7edc5871e78a6fc6716d2f18d621e0d003f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L
+++ src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L
@@ -123,7 +123,7 @@
 // Dummy yywrap to keep yylex happy at compile time.
 // It is called by yylex but is not used as the mechanism to change file.
 // See <<EOF>>
-#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()