summarylogtreecommitdiffstats
path: root/fluentMeshToFoam_L.patch
blob: 4b27ce044e1e154319d3abe0dec9c91a03b1c807 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L
+++ src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L
@@ -100,7 +100,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()