Skip to content
Permalink
Browse files
fix export macro matching
  • Loading branch information
3nids committed Mar 30, 2017
1 parent 4322c87 commit b8159a954459e33dead5a41d93e70816139567cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sipify.pl
@@ -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

0 comments on commit b8159a9

Please sign in to comment.