From 591aeff1f334d0142f6bb55c7c1b9495ab685d1a Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Tue, 11 Dec 2018 01:25:24 +0400 Subject: [PATCH] Added mac imports --- TelegramCore/JSON.swift | 4 ++++ TelegramCore/SplitTest.swift | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/TelegramCore/JSON.swift b/TelegramCore/JSON.swift index 1e97fff39b..c202e97670 100644 --- a/TelegramCore/JSON.swift +++ b/TelegramCore/JSON.swift @@ -1,5 +1,9 @@ import Foundation +#if os(macOS) +import PostboxMac +#else import Postbox +#endif public indirect enum JSON: PostboxCoding, Equatable { case null diff --git a/TelegramCore/SplitTest.swift b/TelegramCore/SplitTest.swift index 9ae33f4dbe..2c5ccbe724 100644 --- a/TelegramCore/SplitTest.swift +++ b/TelegramCore/SplitTest.swift @@ -1,5 +1,9 @@ import Foundation +#if os(macOS) +import PostboxMac +#else import Postbox +#endif public protocol SplitTestEvent: RawRepresentable where RawValue == String { }