From 2429e3a0deb0b26b8723c717555c09d14842373f Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Tue, 5 Jan 2010 22:30:28 +0000 Subject: [PATCH] Monty Taylor claims this helps the drizzle compile for some reason. --- src/google/protobuf/extension_set.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/google/protobuf/extension_set.h b/src/google/protobuf/extension_set.h index ffacf56b87..14d5d15089 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; };