Skip to content

Commit

Permalink
fix export macro matching
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 30, 2017
1 parent 4322c87 commit b8159a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sipify.pl
Expand Up @@ -174,7 +174,7 @@
# class declaration started
if ( $line =~ m/^(\s*class)\s*([A-Z]+_EXPORT)?(\s+\w+)(\s*\:.*)?$/ ){
do {no warnings 'uninitialized';
$line =~ m/\bCORE_EXPORT\b/ or die 'Class shoud be exported with appropriate [LIB]_EXPORT macro.';
$line =~ m/\b[A-Z]+_EXPORT\b/ or die "Class $headerfile shoud be exported with appropriate [LIB]_EXPORT macro.";
};
$line = "$1$3";
# Inheritance
Expand Down

0 comments on commit b8159a9

Please sign in to comment.