summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs b/Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs
index bb0dfff9..73ca347c 100644
--- a/Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs
+++ b/Xamarin.Forms.Platform.iOS/Extensions/DateExtensions.cs
@@ -1,7 +1,12 @@
using System;
using Foundation;
+#if __MOBILE__
namespace Xamarin.Forms.Platform.iOS
+#else
+
+namespace Xamarin.Forms.Platform.MacOS
+#endif
{
public static class DateExtensions
{