aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBMessage_PackagePrivate.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2018-01-23 13:38:28 -0500
committerThomas Van Lenten <thomasvl@google.com>2018-01-25 12:18:39 -0500
commit3e1587fd4bcfaa447aa5fb43198f4f8709c673e4 (patch)
treef571c57d9196fa2e2768fdb1843e9e7cc66e0727 /objectivec/GPBMessage_PackagePrivate.h
parent6fd2ae7e45584493446b5afe13e8e998e6c9338c (diff)
downloadprotobuf-3e1587fd4bcfaa447aa5fb43198f4f8709c673e4.tar.gz
protobuf-3e1587fd4bcfaa447aa5fb43198f4f8709c673e4.tar.bz2
protobuf-3e1587fd4bcfaa447aa5fb43198f4f8709c673e4.zip
Add an explicit import of stdatomic.h.
The generated code for enums needs atomics support, so generate the import instead of relying on it via transitive imports. This will make future changes to this likely likely to break generated code and runtime support are mixed. Followup to https://github.com/google/protobuf/pull/4184.
Diffstat (limited to 'objectivec/GPBMessage_PackagePrivate.h')
-rw-r--r--objectivec/GPBMessage_PackagePrivate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/objectivec/GPBMessage_PackagePrivate.h b/objectivec/GPBMessage_PackagePrivate.h
index 820bb7b4..366e5bbf 100644
--- a/objectivec/GPBMessage_PackagePrivate.h
+++ b/objectivec/GPBMessage_PackagePrivate.h
@@ -34,8 +34,6 @@
#import "GPBMessage.h"
-#import <stdatomic.h>
-
// 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