diff options
Diffstat (limited to 'source4/build/pidl/eth_header.pm')
-rw-r--r-- | source4/build/pidl/eth_header.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/eth_header.pm b/source4/build/pidl/eth_header.pm index f0a5778854..2e0397df37 100644 --- a/source4/build/pidl/eth_header.pm +++ b/source4/build/pidl/eth_header.pm @@ -44,7 +44,7 @@ sub HeaderTypedefProto($) sub HeaderConst($) { my($const) = shift; - if (!defined($const->{ARRAY_LEN})) { + if (!defined($const->{ARRAY_LEN}[0])) { pidl "#define $const->{NAME}\t( $const->{VALUE} )\n"; } else { pidl "#define $const->{NAME}\t $const->{VALUE}\n"; |