diff options
author | Jason Wray <jason@mapbox.com> | 2018-07-24 18:08:12 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2018-07-24 18:14:32 -0400 |
commit | cdd35536417fe16cc60e225f1bd7462f4242e795 (patch) | |
tree | 72567b594f8138d778b52aae961c3f55417819d5 /platform/darwin/src/MGLTypes.h | |
parent | 14dc94e65fc5e549b5bdc8a9138d5d3512b469be (diff) | |
download | qtlocation-mapboxgl-cdd35536417fe16cc60e225f1bd7462f4242e795.tar.gz |
[darwin] Use FOUNDATION_EXTERN instead of plain extern
FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r-- | platform/darwin/src/MGLTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h index fbc3a43ea2..3abc116ad7 100644 --- a/platform/darwin/src/MGLTypes.h +++ b/platform/darwin/src/MGLTypes.h @@ -31,7 +31,7 @@ NS_ASSUME_NONNULL_BEGIN #endif /** Indicates an error occurred in the Mapbox SDK. */ -extern MGL_EXPORT NSErrorDomain const MGLErrorDomain; +FOUNDATION_EXTERN MGL_EXPORT NSErrorDomain const MGLErrorDomain; /** Error constants for the Mapbox SDK. */ typedef NS_ENUM(NSInteger, MGLErrorCode) { |