Skip to content

Commit

Permalink
pgo: Blindly try to fix Windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Mar 25, 2018
1 parent 5af2f80 commit 1e1d907
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libprofiler_builtins/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ fn main() {
cfg.define("strdup", Some("_strdup"));
cfg.define("open", Some("_open"));
cfg.define("fdopen", Some("_fdopen"));
cfg.define("getpid", Some("_getpid"));
cfg.define("fileno", Some("_fileno"));
} else {
// Turn off various features of gcc and such, mostly copying
// compiler-rt's build system already
Expand Down

0 comments on commit 1e1d907

Please sign in to comment.