Skip to content

Commit 7a87ea5

Browse files
DG0BABmxcl
authored andcommitted
Changed preprocessor conditional imports
1 parent 98dce06 commit 7a87ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AnyPromise.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#import "PromiseKit-Swift.h"
1818
#elif __has_include("PromiseKit/PromiseKit-Swift.h")
1919
#import <PromiseKit/PromiseKit-Swift.h>
20-
#elif SWIFT_PACKAGE && __has_feature(modules)
20+
#elif SWIFT_PACKAGE
2121
@import PromiseKit;
2222
#else
2323
@interface AnyPromise

0 commit comments

Comments
 (0)