From 6fd2ae7e45584493446b5afe13e8e998e6c9338c Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Tue, 23 Jan 2018 13:37:43 -0500 Subject: Bring back import of OSAtomic. Followup to https://github.com/google/protobuf/pull/4184, keep the import to not break any existing generated code that isn't regenerated when they update to the newer protobuf code. --- objectivec/GPBMessage_PackagePrivate.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'objectivec') diff --git a/objectivec/GPBMessage_PackagePrivate.h b/objectivec/GPBMessage_PackagePrivate.h index c5501c85..820bb7b4 100644 --- a/objectivec/GPBMessage_PackagePrivate.h +++ b/objectivec/GPBMessage_PackagePrivate.h @@ -36,6 +36,12 @@ #import +// TODO: Remove this import. Older generated code use the OSAtomic* apis, +// so anyone that hasn't regenerated says building by having this. After +// enough time has passed, this likely can be removed as folks should have +// regenerated. +#import + #import "GPBBootstrap.h" typedef struct GPBMessage_Storage { -- cgit v1.2.3