diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-06-09 07:48:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:51 -0500 |
commit | 0f247a39a65cb435ccb3f44fe446026648e20780 (patch) | |
tree | 1e13951410c7b5426b05522eae229d83761cd331 /source4/build/pidl/util.pm | |
parent | 0b119901d8d948e62d46f760b2dd40ba5331afc9 (diff) | |
download | samba-0f247a39a65cb435ccb3f44fe446026648e20780.tar.gz samba-0f247a39a65cb435ccb3f44fe446026648e20780.tar.bz2 samba-0f247a39a65cb435ccb3f44fe446026648e20780.zip |
r7424: add --uint-enums option to pidl to generate
defines for the enum members
(this hopefully will fix the build on AIX)
metze
(This used to be commit 9d4d5163de8b78c5a03348a10ceedb220c92f7b2)
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r-- | source4/build/pidl/util.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm index c26ab2dd04..26c940c02a 100644 --- a/source4/build/pidl/util.pm +++ b/source4/build/pidl/util.pm @@ -204,4 +204,15 @@ sub make_str($) return "\"" . $str . "\""; } +# a hack to build on platforms that don't like negative enum values +my $useUintEnums = 0; +sub setUseUintEnums($) +{ + $useUintEnums = shift; +} +sub useUintEnums() +{ + return $useUintEnums; +} + 1; |