Skip to content

Commit 87da361

Browse files
committed
Replace #import with #include to please VC++.
VC++ chokes on the #import, and thinks we are trying to import libraries. Replace by #include, which should be more portable.
1 parent 33dfb94 commit 87da361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ClangImporter/ClangSourceBufferImporter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#import "ClangSourceBufferImporter.h"
14-
#import "swift/Basic/SourceManager.h"
15-
#import "clang/Basic/SourceManager.h"
16-
#import "llvm/Support/MemoryBuffer.h"
13+
#include "ClangSourceBufferImporter.h"
14+
#include "swift/Basic/SourceManager.h"
15+
#include "clang/Basic/SourceManager.h"
16+
#include "llvm/Support/MemoryBuffer.h"
1717

1818
using namespace swift;
1919
using namespace swift::importer;

0 commit comments

Comments
 (0)