Skip to content

Commit 39b8adf

Browse files
committed
Handle newer hwaccel.h format.
1 parent 4a581d4 commit 39b8adf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/configGenerator.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,9 @@ bool ConfigGenerator::passFindThingsExtern(const string& param1, const string& p
13631363
// Hacky fix for detecting a macro define of const
13641364
start += 14;
13651365
}
1366+
if ((findFile.at(start) == 's') && (findFile.find("struct ", start) == start)) {
1367+
start += 7;
1368+
}
13661369
// Check for search tag
13671370
start = findFile.find_first_not_of(g_whiteSpace, start);
13681371
if ((findFile.at(start) != param2.at(0)) || (findFile.find(param2, start) != start)) {

0 commit comments

Comments
 (0)