Skip to content

Commit e0ab410

Browse files
committed
fix @import issue when imported into C++ source.
1 parent 74f013e commit e0ab410

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MQTTClient/MQTTClient/MQTTLog.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// Copyright © 2016-2017 Christoph Krey. All rights reserved.
77
//
88

9-
@import Foundation;
9+
#if __has_feature(modules)
10+
@import Foundation;
11+
#else
12+
#import <Foundation/Foundation.h>
13+
#endif
1014

1115
#ifdef LUMBERJACK
1216

0 commit comments

Comments
 (0)