Commit 8042401c authored by Morten Welinder's avatar Morten Welinder

Const fix.

parent d1558e36
......@@ -100,6 +100,10 @@ for my $filename (@SRC_C, @SRC_H) {
s/\bregfree\b/gnumeric_regfree/g;
s/options/options | PCRE_UTF8/ if /pcre_compile/;
# Bug fix...
s/gnumeric_regex_t/const gnumeric_regex_t/ if /gnumeric_regexec/;
s/(preg)(->re_erroffset\s*=\s*\(size_t\))/((gnumeric_regex_t *)$1)$2/;
}
print DST;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment