diff options
Diffstat (limited to 'gambitToFoam_L.patch')
-rw-r--r-- | gambitToFoam_L.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gambitToFoam_L.patch b/gambitToFoam_L.patch new file mode 100644 index 000000000000..47a82cf19dd7 --- /dev/null +++ b/gambitToFoam_L.patch @@ -0,0 +1,11 @@ +--- src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L ++++ src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L +@@ -80,7 +80,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() |