Skip to content

Commit

Permalink
Remove unecessarily disabling a warning on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed May 16, 2019
1 parent 3ac67eb commit 9183c00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1572,12 +1572,9 @@ fn test_freebsd(target: &str) {
let x86 = target.contains("i686") || target.contains("x86_64");

let mut cfg = ctest::TestGenerator::new();
// FIXME: still necessary?
// Required for `getline`:
cfg.define("_WITH_GETLINE", None);

// FIXME: still necessary?
cfg.flag("-Wno-deprecated-declarations");

headers! { cfg:
"aio.h",
"arpa/inet.h",
Expand Down

0 comments on commit 9183c00

Please sign in to comment.