summaryrefslogtreecommitdiff
path: root/platform/macos/src/Mapbox.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/macos/src/Mapbox.h
parentb35deb85bc6042380ae0e7154d02faef595cfcf7 (diff)
downloadqtlocation-mapboxgl-8bbf4c3be9ba6589dc0f7e5bf072cf68a57107b4.tar.gz
[build] add -fvisibility=hidden to macOS dynamic framework and export required symbols
Diffstat (limited to 'platform/macos/src/Mapbox.h')
-rw-r--r--platform/macos/src/Mapbox.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/macos/src/Mapbox.h b/platform/macos/src/Mapbox.h
index 524ff1a93a..b16aaf7e67 100644
--- a/platform/macos/src/Mapbox.h
+++ b/platform/macos/src/Mapbox.h
@@ -1,10 +1,12 @@
#import <Cocoa/Cocoa.h>
+#import "MGLFoundation.h"
+
/// Project version number for Mapbox.
-FOUNDATION_EXPORT double MapboxVersionNumber;
+FOUNDATION_EXPORT MGL_EXPORT double MapboxVersionNumber;
/// Project version string for Mapbox.
-FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
+FOUNDATION_EXPORT MGL_EXPORT const unsigned char MapboxVersionString[];
#import "MGLAccountManager.h"
#import "MGLAnnotation.h"