diff options
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r-- | source4/build/pidl/header.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm index 83e2cfd4ac..ec8b8451ad 100644 --- a/source4/build/pidl/header.pm +++ b/source4/build/pidl/header.pm @@ -125,11 +125,11 @@ sub HeaderType($$$) HeaderUnion($data, $name); return; } - if ($data =~ "unistr") { + if ($data =~ "unistr" || + $data =~ "ascstr") { $res .= "const char"; - } elsif ($data =~ "nstring") { - $res .= "const char *"; - } elsif ($data =~ "lstring") { + } elsif ($data =~ "nstring" || + $data =~ "lstring") { $res .= "const char *"; } elsif (util::is_scalar_type($data)) { $res .= "$data"; |