diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-01-05 22:30:28 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-01-05 22:30:28 +0000 |
commit | 2429e3a0deb0b26b8723c717555c09d14842373f (patch) | |
tree | 1771b47d66076a95fa022184b6b9d672327bec4a /src | |
parent | 0225b352eaa629b6fb84a445d78af6ad7740e967 (diff) | |
download | protobuf-2429e3a0deb0b26b8723c717555c09d14842373f.tar.gz protobuf-2429e3a0deb0b26b8723c717555c09d14842373f.tar.bz2 protobuf-2429e3a0deb0b26b8723c717555c09d14842373f.zip |
Monty Taylor claims this helps the drizzle compile for some reason.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/extension_set.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/google/protobuf/extension_set.h b/src/google/protobuf/extension_set.h index ffacf56b..14d5d150 100644 --- a/src/google/protobuf/extension_set.h +++ b/src/google/protobuf/extension_set.h @@ -97,11 +97,13 @@ struct ExtensionInfo { bool is_repeated; bool is_packed; + struct EnumValidityCheck { + EnumValidityFuncWithArg* func; + const void* arg; + }; + union { - struct { - EnumValidityFuncWithArg* func; - const void* arg; - } enum_validity_check; + EnumValidityCheck enum_validity_check; const MessageLite* message_prototype; }; |