summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.iOS/MapPool.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Maps.iOS/MapPool.cs')
-rw-r--r--Xamarin.Forms.Maps.iOS/MapPool.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Maps.iOS/MapPool.cs b/Xamarin.Forms.Maps.iOS/MapPool.cs
index dc8a9c4..1b3823c 100644
--- a/Xamarin.Forms.Maps.iOS/MapPool.cs
+++ b/Xamarin.Forms.Maps.iOS/MapPool.cs
@@ -1,7 +1,11 @@
using System.Collections.Concurrent;
using MapKit;
+#if __MOBILE__
namespace Xamarin.Forms.Maps.iOS
+#else
+namespace Xamarin.Forms.Maps.MacOS
+#endif
{
// A static pool of MKMapView instances we can reuse
internal class MapPool