summaryrefslogtreecommitdiff
path: root/google
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2018-09-06 13:16:11 -0700
committerJoshua Haberman <jhaberman@gmail.com>2018-09-06 13:16:11 -0700
commit287ab94800c327f058770545b76039bd5186422a (patch)
tree40f6a54ccf2ee576b3903cd99e37f6011ebc4147 /google
parent33d1231ead8ffbeb97e6c97b9e9a06ace64abd65 (diff)
A few more compile fixes.
Diffstat (limited to 'google')
-rw-r--r--google/protobuf/descriptor.upb.c3
-rw-r--r--google/protobuf/descriptor.upb.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/google/protobuf/descriptor.upb.c b/google/protobuf/descriptor.upb.c
index 763fe3e..2a64717 100644
--- a/google/protobuf/descriptor.upb.c
+++ b/google/protobuf/descriptor.upb.c
@@ -10,6 +10,7 @@
#include "upb/msg.h"
#include "google/protobuf/descriptor.upb.h"
+#include "upb/port_def.inc"
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1] = {
&google_protobuf_FileDescriptorProto_msginit,
@@ -532,3 +533,5 @@ const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit = {
UPB_SIZE(32, 48), 4, 0, false, true
};
+#include "upb/port_undef.inc"
+
diff --git a/google/protobuf/descriptor.upb.h b/google/protobuf/descriptor.upb.h
index daa299d..07ce6f1 100644
--- a/google/protobuf/descriptor.upb.h
+++ b/google/protobuf/descriptor.upb.h
@@ -43,6 +43,7 @@ typedef struct google_protobuf_SourceCodeInfo { int a; } google_protobuf_SourceC
typedef struct google_protobuf_SourceCodeInfo_Location { int a; } google_protobuf_SourceCodeInfo_Location;
typedef struct google_protobuf_GeneratedCodeInfo { int a; } google_protobuf_GeneratedCodeInfo;
typedef struct google_protobuf_GeneratedCodeInfo_Annotation { int a; } google_protobuf_GeneratedCodeInfo_Annotation;
+
/* Enums */
typedef enum {
@@ -800,6 +801,7 @@ UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_prot
UPB_END_EXTERN_C
+
#include "upb/port_undef.inc"
#endif /* GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback