summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayer.h
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-03 15:56:55 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-04 23:06:22 +0100
commit8bbf4c3be9ba6589dc0f7e5bf072cf68a57107b4 (patch)
tree0c46dc77841ccbce9e6f3e7285b6f525f07b69d1 /platform/darwin/src/MGLStyleLayer.h
parentb35deb85bc6042380ae0e7154d02faef595cfcf7 (diff)
downloadqtlocation-mapboxgl-8bbf4c3be9ba6589dc0f7e5bf072cf68a57107b4.tar.gz
[build] add -fvisibility=hidden to macOS dynamic framework and export required symbols
Diffstat (limited to 'platform/darwin/src/MGLStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLStyleLayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.h b/platform/darwin/src/MGLStyleLayer.h
index 4032be9297..ac40545398 100644
--- a/platform/darwin/src/MGLStyleLayer.h
+++ b/platform/darwin/src/MGLStyleLayer.h
@@ -1,5 +1,6 @@
#import <Foundation/Foundation.h>
+#import "MGLFoundation.h"
#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
@@ -18,6 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
`MGLBackgroundStyleLayer` and the concrete subclasses of
`MGLForegroundStyleLayer`.
*/
+MGL_EXPORT
@interface MGLStyleLayer : NSObject
#pragma mark Initializing a Style Layer