We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900ba55 commit 8748bddCopy full SHA for 8748bdd
src/libprofiler_builtins/build.rs
@@ -39,6 +39,9 @@ fn main() {
39
// Don't pull in extra libraries on MSVC
40
cfg.flag("/Zl");
41
profile_sources.push("WindowsMMap.c");
42
+ cfg.define("strdup", Some("_strdup"));
43
+ cfg.define("open", Some("_open"));
44
+ cfg.define("fdopen", Some("_fdopen"));
45
} else {
46
// Turn off various features of gcc and such, mostly copying
47
// compiler-rt's build system already
0 commit comments