Skip to content

Commit a5a2914

Browse files
authored
Fix warning to be compatible with Windows
1 parent 0eec23a commit a5a2914

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/clang/Interpreter/CppInterOp.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
#define CLANG_CPPINTEROP_H
33

44
#include "CppInterOp/CppInterOp.h"
5-
#warning \
5+
#if defined(_MSC_VER)
6+
#pragma message("#include <clang/Interpreter/CppInterOp.h> is deprecated; use #include <CppInterOp/CppInterOp.h")
7+
#else
8+
#warning \
69
"#include <clang/Interpreter/CppInterOp.h> is deprecated; use #include <CppInterOp/CppInterOp.h"
10+
#endif
11+
712

813
#endif // CLANG_CPPINTEROP_H

0 commit comments

Comments
 (0)