Skip to content

Commit 4a7f4b0

Browse files
committed
Revert "adds OR SWIFT_PACKAGE to avoid a breaking change"
This reverts commit f36c766.
1 parent 6507106 commit 4a7f4b0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Sources/Swift/FlexLayout.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Created by Luc Dion on 2017-06-19.
1414

1515
import UIKit
16-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
16+
#if FLEXLAYOUT_SWIFT_PACKAGE
1717
import FlexLayoutYogaKit
1818
#endif
1919

Sources/Swift/Impl/FlexLayout+Enum.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import UIKit
1616

17-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
17+
#if FLEXLAYOUT_SWIFT_PACKAGE
1818
import FlexLayoutYoga
1919

2020
extension YGFlexDirection {

Sources/Swift/Impl/FlexLayout+Private.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
import UIKit
10-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
10+
#if FLEXLAYOUT_SWIFT_PACKAGE
1111
import FlexLayoutYoga
1212
#endif
1313

Sources/Swift/YGLayoutExtensions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
8+
#if FLEXLAYOUT_SWIFT_PACKAGE
99
import CoreGraphics
1010
import FlexLayoutYoga
1111
#endif

Sources/YogaKit/include/YogaKit/YGLayout+Private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
#import "YGLayout.h"
9-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
9+
#if FLEXLAYOUT_SWIFT_PACKAGE
1010
#import <yoga/Yoga.h>
1111
#else
1212
#import "Yoga.h"

Sources/YogaKit/include/YogaKit/YGLayout.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#import <UIKit/UIKit.h>
99

10-
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
10+
#if FLEXLAYOUT_SWIFT_PACKAGE
1111
#import <yoga/YGEnums.h>
1212
#import <yoga/Yoga.h>
1313
#import <yoga/YGMacros.h>

0 commit comments

Comments
 (0)