Index: third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m |
diff --git a/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m b/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m |
index f35e435dfba5abcebf9b860b1943f04c46430add..4ab159fb9ce29faef5b6534026a0da5bdf5ae80e 100644 |
--- a/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m |
+++ b/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m |
@@ -1,8 +1,23 @@ |
// Generated by the protocol buffer compiler. DO NOT EDIT! |
// source: google/protobuf/timestamp.proto |
-#import "GPBProtocolBuffers_RuntimeSupport.h" |
-#import "google/protobuf/Timestamp.pbobjc.h" |
+// This CPP symbol can be defined to use imports that match up to the framework |
+// imports needed when using CocoaPods. |
+#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) |
+ #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
+#endif |
+ |
+#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
+ #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h> |
+#else |
+ #import "GPBProtocolBuffers_RuntimeSupport.h" |
+#endif |
+ |
+#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
+ #import <Protobuf/Timestamp.pbobjc.h> |
+#else |
+ #import "google/protobuf/Timestamp.pbobjc.h" |
+#endif |
// @@protoc_insertion_point(imports) |
#pragma clang diagnostic push |
@@ -12,6 +27,9 @@ |
@implementation GPBTimestampRoot |
+// No extensions in the file and no imports, so no need to generate |
+// +extensionRegistry. |
+ |
@end |
#pragma mark - GPBTimestampRoot_FileDescriptor |
@@ -21,8 +39,9 @@ static GPBFileDescriptor *GPBTimestampRoot_FileDescriptor(void) { |
// about thread safety of the singleton. |
static GPBFileDescriptor *descriptor = NULL; |
if (!descriptor) { |
- GPBDebugCheckRuntimeVersion(); |
+ GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); |
descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
+ objcPrefix:@"GPB" |
syntax:GPBFileSyntaxProto3]; |
} |
return descriptor; |
@@ -73,7 +92,7 @@ typedef struct GPBTimestamp__storage_ { |
fields:fields |
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) |
storageSize:sizeof(GPBTimestamp__storage_) |
- flags:0]; |
+ flags:GPBDescriptorInitializationFlag_None]; |
NSAssert(descriptor == nil, @"Startup recursed!"); |
descriptor = localDescriptor; |
} |