|
|
@@ -28,14 +28,22 @@ int main()
|
|
|
printf("OEM code page: %u\n", GetOEMCP());
|
|
|
printf("VSLANG: %s\n", vslang);
|
|
|
|
|
|
- // clang-cl (special case for test, not a real VS value).
|
|
|
- if (strcmp(vslang, "clang-cl") == 0) {
|
|
|
+ // clang-cl <= 17 (special case for test, not a real VS value).
|
|
|
+ if (strcmp(vslang, "clang-cl-17") == 0) {
|
|
|
if (cp == 437 || cp == 65001) {
|
|
|
printf("Note: including file: ./foo.h\n");
|
|
|
return 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // clang-cl >= 18 (special case for test, not a real VS value).
|
|
|
+ if (strcmp(vslang, "clang-cl-18") == 0) {
|
|
|
+ if (cp == 437 || cp == 65001) {
|
|
|
+ printf("Note: including file: .\\\\foo.h\n");
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// msvc-wine (special case for test, not a real VS value).
|
|
|
if (strcmp(vslang, "msvc-wine") == 0) {
|
|
|
if (cp == 437 || cp == 65001) {
|