Fix Bugzilla issue 24111 - [ImportC] fatal error C1034: stdio.h: no include path set (#16248)

* Fix Bugzilla issue 24111 - [ImportC] fatal error C1034: stdio.h: no include path set
This commit is contained in:
SHOO 2024-03-03 13:35:04 +09:00 committed by GitHub
parent 2e2c799be6
commit 0186032fa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1 @@
#include <stdio.h>

View file

@ -0,0 +1,15 @@
import dshell;
int main()
{
version (Windows)
{
auto cmd = "$DMD -m$MODEL -c $EXTRA_FILES" ~ SEP ~ "issue24111.c";
run(cmd);
import std.process: environment;
environment.remove("INCLUDE");
run(cmd);
}
return 0;
}