Skip to content

Commit 1e1d907

Browse files
committed
pgo: Blindly try to fix Windows build.
1 parent 5af2f80 commit 1e1d907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libprofiler_builtins/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ fn main() {
4343
cfg.define("strdup", Some("_strdup"));
4444
cfg.define("open", Some("_open"));
4545
cfg.define("fdopen", Some("_fdopen"));
46+
cfg.define("getpid", Some("_getpid"));
47+
cfg.define("fileno", Some("_fileno"));
4648
} else {
4749
// Turn off various features of gcc and such, mostly copying
4850
// compiler-rt's build system already

0 commit comments

Comments
 (0)